|
|
@@ -1,7 +1,7 @@
|
|
|
# Welcome to Hue (http://gethue.com) Dockerfile
|
|
|
# Build an image from a remote github or local cloned Hue repository.
|
|
|
|
|
|
-FROM ubuntu:16.04
|
|
|
+FROM ubuntu:18.04
|
|
|
LABEL description="Hue Project https://github.com/cloudera/hue"
|
|
|
|
|
|
RUN apt-get update -y && apt-get install -y \
|
|
|
@@ -12,7 +12,7 @@ RUN apt-get update -y && apt-get install -y \
|
|
|
libsasl2-dev \
|
|
|
libsasl2-modules-gssapi-mit \
|
|
|
libsqlite3-dev \
|
|
|
- libtidy-0.99-0 \
|
|
|
+ libtidy-dev \
|
|
|
libxml2-dev \
|
|
|
libxslt-dev \
|
|
|
libffi-dev \
|
|
|
@@ -25,6 +25,7 @@ RUN apt-get update -y && apt-get install -y \
|
|
|
software-properties-common \
|
|
|
curl \
|
|
|
git \
|
|
|
+ rsync \
|
|
|
sudo \
|
|
|
maven \
|
|
|
gcc \
|
|
|
@@ -34,11 +35,6 @@ RUN apt-get update -y && apt-get install -y \
|
|
|
libxmlsec1-openssl \
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
-RUN add-apt-repository -y ppa:webupd8team/java
|
|
|
-RUN apt-get update -y
|
|
|
-RUN echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | sudo /usr/bin/debconf-set-selections
|
|
|
-RUN apt-get install -y oracle-java8-installer
|
|
|
-
|
|
|
ADD . /hue
|
|
|
WORKDIR /hue
|
|
|
|
|
|
@@ -47,7 +43,7 @@ RUN rm desktop/conf/*
|
|
|
COPY desktop/conf.dist desktop/conf
|
|
|
|
|
|
# Need recent version for Ubuntu
|
|
|
-RUN curl -sL https://deb.nodesource.com/setup_8.x | sudo bash -
|
|
|
+RUN curl -sL https://deb.nodesource.com/setup_10.x | sudo bash -
|
|
|
RUN apt-get install -y nodejs
|
|
|
|
|
|
RUN PREFIX=/usr/share make install
|