Skip to content

Commit 59ca36a

Browse files
committed
java
1 parent 86ba9b7 commit 59ca36a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
# For travis
22
FROM ubuntu:16.04
33
SHELL ["/bin/bash", "-c"]
4+
ENV DEBIAN_FRONTEND noninteractive
45

56
COPY . /
67

78
RUN apt-get update \
8-
&& apt-get install -y python-software-properties \
9+
&& apt-get install -y software-properties-common \
910
&& add-apt-repository ppa:webupd8team/java \
1011
&& apt-get update \
12+
&& echo debconf shared/accepted-oracle-license-v1-1 select true | debconf-set-selections \
13+
&& echo debconf shared/accepted-oracle-license-v1-1 seen true | debconf-set-selections \
1114
&& apt-get install -y python wget git build-essential oracle-java8-installer \
1215
&& wget https://s3.amazonaws.com/mozilla-games/emscripten/releases/emsdk-portable.tar.gz \
1316
&& tar -xf emsdk-portable.tar.gz \

0 commit comments

Comments
 (0)