Dockerfile 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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. which \
  50. xmlsec1 \
  51. zlib-devel
  52. RUN set -eux; easy_install supervisor pip
  53. 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
  54. RUN set -eux ; \
  55. curl -sL https://rpm.nodesource.com/setup_10.x | bash - \
  56. && yum install -y nodejs \
  57. && yum clean all -y
  58. # kubernetes pod health check
  59. COPY healthz.sh /
  60. RUN chmod +x /healthz.sh
  61. CMD ["/bin/bash"]