Dockerfile 432 B

123456789101112131415161718192021
  1. FROM docker-private.infra.cloudera.com/cloudera_base/centos:7.6.1810 as base-centos-jdk
  2. LABEL description="Hue Project https://github.com/cloudera/hue"
  3. # Set the environment variable
  4. ENV NAME="basehue"
  5. RUN set -eux; \
  6. yum install -y \
  7. httpd \
  8. httpd-tools \
  9. gettext \
  10. nmap-ncat
  11. # kubernetes pod health check
  12. COPY healthz.sh /
  13. RUN chmod +x /healthz.sh
  14. EXPOSE 80
  15. CMD ["/usr/sbin/apachectl"]