You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
327 B
Docker
13 lines
327 B
Docker
4 years ago
|
FROM ubuntu:focal-20210119
|
||
|
|
||
|
ADD setup.sh /setup.sh
|
||
|
ADD get-jdk-url.sh /get-jdk-url.sh
|
||
|
ADD get-docker-url.sh /get-docker-url.sh
|
||
|
RUN ./setup.sh java8 java16
|
||
|
|
||
|
ENV JAVA_HOME /opt/openjdk
|
||
|
ENV PATH $JAVA_HOME/bin:$PATH
|
||
|
ADD docker-lib.sh /docker-lib.sh
|
||
|
|
||
|
ENTRYPOINT [ "switch", "shell=/bin/bash", "--", "codep", "/bin/docker daemon" ]
|