Dockerfile 904 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # Welcome to the official Hue (http://gethue.com) developer Dockerfile
  2. FROM ubuntu:trusty
  3. MAINTAINER The Hue Team "https://github.com/cloudera/hue"
  4. RUN apt-get install -y software-properties-common
  5. RUN add-apt-repository -y ppa:webupd8team/java
  6. RUN apt-get update -y
  7. RUN echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | sudo /usr/bin/debconf-set-selections
  8. RUN apt-get install -y oracle-java8-installer
  9. RUN apt-get install -q -y \
  10. git \
  11. ant \
  12. gcc \
  13. g++ \
  14. libkrb5-dev \
  15. libmysqlclient-dev \
  16. libssl-dev \
  17. libsasl2-dev \
  18. libsasl2-modules-gssapi-mit \
  19. libsqlite3-dev \
  20. libtidy-0.99-0 \
  21. libxml2-dev \
  22. libxslt-dev \
  23. make \
  24. maven \
  25. libldap2-dev \
  26. python-dev \
  27. python-setuptools \
  28. libgmp3-dev
  29. RUN git clone https://github.com/cloudera/hue.git
  30. WORKDIR hue
  31. RUN make apps
  32. EXPOSE 8888
  33. CMD ["build/env/bin/hue", "runserver_plus", "0.0.0.0:8888"]