Dockerfile 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. FROM registry.access.redhat.com/ubi8/ubi as base-ubi-8
  2. LABEL description="Hue Project https://github.com/cloudera/hue"
  3. # Set the environment variable
  4. ENV NAME="basehue"
  5. # Required libraries for running Hue
  6. RUN set -eux; \
  7. yum install -y \
  8. bzip2-devel \
  9. curl \
  10. cyrus-sasl \
  11. cyrus-sasl-devel \
  12. cyrus-sasl-gssapi \
  13. cyrus-sasl-plain \
  14. gettext \
  15. gmp \
  16. java-1.8.0-openjdk-devel \
  17. krb5-devel \
  18. krb5-libs \
  19. krb5-workstation \
  20. libffi-devel \
  21. libxml2-devel \
  22. libxslt-devel \
  23. ncurses-devel \
  24. nmap-ncat \
  25. procps-ng \
  26. python38 \
  27. python38-devel \
  28. rsync \
  29. openldap-devel \
  30. openssl \
  31. openssl-devel \
  32. sqlite-devel \
  33. sudo \
  34. which \
  35. xmlsec1 \
  36. xmlsec1-openssl \
  37. zlib-devel
  38. RUN set -eux; \
  39. /usr/bin/pip3.8 install supervisor \
  40. && curl -s https://files.pythonhosted.org/packages/45/78/4621eb7085162bc4d2252ad92af1cc5ccacbd417a50e2ee74426331aad18/psycopg2_binary-2.9.3-cp38-cp38-musllinux_1_1_x86_64.whl -o /tmp/psycopg2_binary-2.9.3-cp38-cp38-musllinux_1_1_x86_64.whl \
  41. && dnf install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm \
  42. && yum install -y postgresql11 \
  43. && curl -sL https://rpm.nodesource.com/setup_14.x | bash - \
  44. && yum install -y nodejs \
  45. && yum clean all -y \
  46. && rm -rf /var/cache/yum
  47. # kubernetes pod health check
  48. COPY healthz.sh /
  49. RUN chmod +x /healthz.sh
  50. CMD ["/bin/bash"]