@@ -4,37 +4,36 @@ set -ex
44# ##########################################################
55# UTILS
66# ##########################################################
7-
7+ export DEBIAN_FRONTEND=noninteractive
88apt-get update
9- apt-get install --no-install-recommends -y ca-certificates net-tools libxml2-utils git curl libudev1 libxml2-utils iptables iproute2 jq
9+ apt-get install --no-install-recommends -y tzdata ca-certificates net-tools libxml2-utils git curl libudev1 libxml2-utils iptables iproute2 jq fontconfig
10+ ln -fs /usr/share/zoneinfo/UTC /etc/localtime
11+ dpkg-reconfigure --frontend noninteractive tzdata
1012rm -rf /var/lib/apt/lists/*
11-
12- curl https://raw.githubusercontent.com/spring-io/concourse-java-scripts/v0.0.2/concourse-java.sh > /opt/concourse-java.sh
13-
13+ curl https://raw.githubusercontent.com/spring-io/concourse-java-scripts/v0.0.4/concourse-java.sh > /opt/concourse-java.sh
14+ curl --output /opt/concourse-release-scripts.jar https://repo.spring.io/release/io/spring/concourse/releasescripts/concourse-release-scripts/0.3.2/concourse-release-scripts-0.3.2.jar
1415
1516# ##########################################################
1617# JAVA
1718# ##########################################################
18- JDK_URL=" https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/ jdk-11.0.9%2B11.1/OpenJDK11U-jdk_x64_linux_hotspot_11.0.9_11.tar.gz "
19+ JDK_URL=$( ./get- jdk-url.sh java11 )
1920
2021mkdir -p /opt/openjdk
2122cd /opt/openjdk
2223curl -L ${JDK_URL} | tar zx --strip-components=1
2324test -f /opt/openjdk/bin/java
2425test -f /opt/openjdk/bin/javac
2526
26-
2727# ##########################################################
2828# DOCKER
2929# ##########################################################
30-
3130cd /
32- curl -L https://download.docker.com/linux/static/stable/x86_64/docker-18.06.1-ce.tgz | tar zx
31+ DOCKER_URL=$( ./get-docker-url.sh )
32+ curl -L ${DOCKER_URL} | tar zx
3333mv /docker/* /bin/
3434chmod +x /bin/docker*
35-
3635export ENTRYKIT_VERSION=0.4.0
3736curl -L https://github.com/progrium/entrykit/releases/download/v${ENTRYKIT_VERSION} /entrykit_${ENTRYKIT_VERSION} _Linux_x86_64.tgz | tar zx
3837chmod +x entrykit && \
3938mv entrykit /bin/entrykit && \
40- entrykit --symlink
39+ entrykit --symlink
0 commit comments