Dockerfile 961 B

123456789101112131415161718192021222324252627282930313233343536373839
  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 update -y
  10. RUN apt-get install --fix-missing -q -y \
  11. git \
  12. ant \
  13. gcc \
  14. g++ \
  15. libkrb5-dev \
  16. libmysqlclient-dev \
  17. libssl-dev \
  18. libsasl2-dev \
  19. libsasl2-modules-gssapi-mit \
  20. libsqlite3-dev \
  21. libtidy-0.99-0 \
  22. libxml2-dev \
  23. libxslt-dev \
  24. make \
  25. maven \
  26. libldap2-dev \
  27. python-dev \
  28. python-setuptools \
  29. libgmp3-dev
  30. RUN git clone https://github.com/cloudera/hue.git
  31. WORKDIR hue
  32. RUN make apps
  33. EXPOSE 8888
  34. VOLUME /hue/desktop/
  35. CMD ["build/env/bin/hue", "runserver_plus", "0.0.0.0:8888"]