Dockerfile 1012 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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 update -y
  5. RUN apt-get install -y software-properties-common
  6. RUN add-apt-repository -y ppa:webupd8team/java
  7. RUN apt-get update -y
  8. RUN echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | sudo /usr/bin/debconf-set-selections
  9. RUN apt-get install -y oracle-java8-installer
  10. RUN apt-get update -y
  11. RUN apt-get install --fix-missing -q -y \
  12. git \
  13. ant \
  14. gcc \
  15. g++ \
  16. libkrb5-dev \
  17. libmysqlclient-dev \
  18. libssl-dev \
  19. libsasl2-dev \
  20. libsasl2-modules-gssapi-mit \
  21. libsqlite3-dev \
  22. libtidy-0.99-0 \
  23. libxml2-dev \
  24. libxslt-dev \
  25. libffi-dev \
  26. make \
  27. maven \
  28. libldap2-dev \
  29. python-dev \
  30. python-setuptools \
  31. libgmp3-dev \
  32. libz-dev
  33. RUN git clone https://github.com/cloudera/hue.git
  34. WORKDIR hue
  35. RUN make apps
  36. EXPOSE 8888
  37. VOLUME /hue/desktop/
  38. CMD ["build/env/bin/hue", "runserver_plus", "0.0.0.0:8888"]