Dockerfile 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. # Required for building Hue
  6. #RUN yum install -y \
  7. # ant \
  8. # curl \
  9. # gcc \
  10. # gcc-c++ \
  11. # git \
  12. # java-1.8.0-openjdk-devel \
  13. # maven \
  14. # make \
  15. # mysql-devel \
  16. # nc \
  17. # sudo \
  18. # tar \
  19. # vim-enhanced
  20. #
  21. # Required libraries for running Hue
  22. RUN set -eux; \
  23. yum install -y \
  24. asciidoc \
  25. bzip2-devel \
  26. cyrus-sasl-devel \
  27. cyrus-sasl-gssapi \
  28. cyrus-sasl-plain \
  29. gettext \
  30. gmp-devel \
  31. krb5-devel \
  32. krb5-libs \
  33. krb5-workstation \
  34. libffi-devel \
  35. libtidy \
  36. libxml2-devel \
  37. libxslt-devel \
  38. nmap-ncat \
  39. ncurses-devel \
  40. openldap-devel \
  41. openssl-devel \
  42. postgresql \
  43. postgresql-libs \
  44. python-devel \
  45. python-setuptools \
  46. readline-devel \
  47. sqlite-devel \
  48. sudo \
  49. xmlsec1 \
  50. zlib-devel
  51. RUN set -eux; easy_install supervisor pip
  52. RUN curl -s https://files.pythonhosted.org/packages/a1/92/a27986cb7b4bddc7d57781a0e1163d683110907edfca1db3fbce25536492/psycopg2_binary-2.8.3-cp27-cp27mu-manylinux1_x86_64.whl -o /tmp/psycopg2_binary-2.8.3-cp27-cp27mu-manylinux1_x86_64.whl
  53. RUN set -eux ; \
  54. curl -sL https://rpm.nodesource.com/setup_10.x | bash - \
  55. && yum install -y nodejs \
  56. && yum clean all -y
  57. # kubernetes pod health check
  58. COPY healthz.sh /
  59. RUN chmod +x /healthz.sh
  60. CMD ["/bin/bash"]