mirror of
https://gitee.com/dcren/initializr.git
synced 2025-04-05 17:38:06 +08:00
11 lines
398 B
Docker
11 lines
398 B
Docker
FROM ubuntu:bionic-20181018
|
|
|
|
ENV JAVA_HOME /opt/openjdk
|
|
ENV PATH $JAVA_HOME/bin:$PATH
|
|
RUN apt-get update && \
|
|
apt-get install -y curl
|
|
RUN mkdir -p /opt/openjdk && \
|
|
cd /opt/openjdk && \
|
|
curl https://java-buildpack.cloudfoundry.org/openjdk/bionic/x86_64/openjdk-1.8.0_192.tar.gz | tar xz
|
|
|
|
ADD https://raw.githubusercontent.com/spring-io/concourse-java-scripts/v0.0.2/concourse-java.sh /opt/ |