@@ -4,37 +4,36 @@ set -ex
4
4
# ##########################################################
5
5
# UTILS
6
6
# ##########################################################
7
-
7
+ export DEBIAN_FRONTEND=noninteractive
8
8
apt-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
10
12
rm -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
14
15
15
16
# ##########################################################
16
17
# JAVA
17
18
# ##########################################################
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 )
19
20
20
21
mkdir -p /opt/openjdk
21
22
cd /opt/openjdk
22
23
curl -L ${JDK_URL} | tar zx --strip-components=1
23
24
test -f /opt/openjdk/bin/java
24
25
test -f /opt/openjdk/bin/javac
25
26
26
-
27
27
# ##########################################################
28
28
# DOCKER
29
29
# ##########################################################
30
-
31
30
cd /
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
33
33
mv /docker/* /bin/
34
34
chmod +x /bin/docker*
35
-
36
35
export ENTRYKIT_VERSION=0.4.0
37
36
curl -L https://github.com/progrium/entrykit/releases/download/v${ENTRYKIT_VERSION} /entrykit_${ENTRYKIT_VERSION} _Linux_x86_64.tgz | tar zx
38
37
chmod +x entrykit && \
39
38
mv entrykit /bin/entrykit && \
40
- entrykit --symlink
39
+ entrykit --symlink
0 commit comments