Dockerfile 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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 set -eux; \
  7. yum install -y \
  8. ant \
  9. asciidoc \
  10. bzip2-devel \
  11. curl \
  12. cyrus-sasl-devel \
  13. cyrus-sasl-gssapi \
  14. cyrus-sasl-plain \
  15. gcc \
  16. gcc-c++ \
  17. gettext \
  18. git \
  19. gmp-devel \
  20. java-1.8.0-openjdk-devel \
  21. krb5-devel \
  22. krb5-libs \
  23. krb5-workstation \
  24. libffi-devel \
  25. libtidy \
  26. libxml2-devel \
  27. libxslt-devel \
  28. make \
  29. maven \
  30. mysql-devel \
  31. nc \
  32. ncurses-devel \
  33. nmap-ncat \
  34. openldap-devel \
  35. openssl \
  36. openssl-devel \
  37. postgresql \
  38. postgresql-libs \
  39. python-devel \
  40. python-setuptools \
  41. readline-devel \
  42. sqlite-devel \
  43. sudo \
  44. swig \
  45. tar \
  46. which \
  47. xmlsec1 \
  48. xmlsec1-openssl \
  49. zlib-devel
  50. RUN set -eux; easy_install supervisor pip
  51. 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
  52. RUN set -eux ; \
  53. curl -sL https://rpm.nodesource.com/setup_10.x | bash - \
  54. && yum install -y nodejs \
  55. && yum clean all -y
  56. CMD ["/bin/bash"]