Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cb20c82

Browse files
committed
Skip license page during Java package install.
1 parent 5b73ea9 commit cb20c82

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,6 @@ FROM dockerfile/ubuntu
1111
RUN apt-get install -y software-properties-common
1212
RUN add-apt-repository -y ppa:webupd8team/java
1313
RUN apt-get update
14+
RUN echo debconf shared/accepted-oracle-license-v1-1 select true | debconf-set-selections
15+
RUN echo debconf shared/accepted-oracle-license-v1-1 seen true | debconf-set-selections
1416
RUN apt-get install -y oracle-java7-installer

0 commit comments

Comments
 (0)