Dockerfile 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. FROM registry.access.redhat.com/ubi7/ubi as base-ubi-7
  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. java-1.8.0-openjdk-devel \
  32. krb5-devel \
  33. krb5-libs \
  34. krb5-workstation \
  35. libffi-devel \
  36. libtidy \
  37. libxml2-devel \
  38. libxslt-devel \
  39. ncurses-devel \
  40. nmap-ncat \
  41. openldap-devel \
  42. openssl \
  43. openssl-devel \
  44. postgresql \
  45. postgresql-libs \
  46. python-devel \
  47. python-setuptools \
  48. readline-devel \
  49. sqlite-devel \
  50. sudo \
  51. swig \
  52. which \
  53. xmlsec1 \
  54. xmlsec1-openssl \
  55. zlib-devel
  56. RUN set -eux; easy_install supervisor pip
  57. 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
  58. RUN set -eux ; \
  59. curl -sL https://rpm.nodesource.com/setup_10.x | bash - \
  60. && yum install -y nodejs \
  61. && yum clean all -y
  62. # kubernetes pod health check
  63. COPY healthz.sh /
  64. RUN chmod +x /healthz.sh
  65. CMD ["/bin/bash"]