Dockerfile 976 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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. libffi-dev \
  25. make \
  26. maven \
  27. libldap2-dev \
  28. python-dev \
  29. python-setuptools \
  30. libgmp3-dev
  31. RUN git clone https://github.com/cloudera/hue.git
  32. WORKDIR hue
  33. RUN make apps
  34. EXPOSE 8888
  35. VOLUME /hue/desktop/
  36. CMD ["build/env/bin/hue", "runserver_plus", "0.0.0.0:8888"]