-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8d9f78f
commit 9df2dc9
Showing
2 changed files
with
21 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,22 +22,22 @@ ARG UID=1000 | |
RUN \ | ||
apk --no-cache upgrade && \ | ||
apk add --no-cache curl && \ | ||
curl --fail --location --silent --show-error "https://download.gocd.org/binaries/20.1.0-11114/generic/go-server-20.1.0-11114.zip" > /tmp/go-server-20.1.0-11114.zip | ||
RUN unzip /tmp/go-server-20.1.0-11114.zip -d / | ||
RUN mv /go-server-20.1.0 /go-server && chown -R ${UID}:0 /go-server && chmod -R g=u /go-server | ||
curl --fail --location --silent --show-error "https://download.gocd.org/binaries/20.2.0-11344/generic/go-server-20.2.0-11344.zip" > /tmp/go-server-20.2.0-11344.zip | ||
RUN unzip /tmp/go-server-20.2.0-11344.zip -d / | ||
RUN mv /go-server-20.2.0 /go-server && chown -R ${UID}:0 /go-server && chmod -R g=u /go-server | ||
|
||
FROM alpine:3.9 | ||
FROM alpine:3.11 | ||
MAINTAINER ThoughtWorks, Inc. <[email protected]> | ||
|
||
LABEL gocd.version="20.1.0" \ | ||
description="GoCD server based on alpine version 3.9" \ | ||
LABEL gocd.version="20.2.0" \ | ||
description="GoCD server based on alpine version 3.11" \ | ||
maintainer="ThoughtWorks, Inc. <[email protected]>" \ | ||
url="https://www.gocd.org" \ | ||
gocd.full.version="20.1.0-11114" \ | ||
gocd.git.sha="f2c1771e333ea92dae82cd78d2efa1310c1086f0" | ||
gocd.full.version="20.2.0-11344" \ | ||
gocd.git.sha="0cb6660ad91a19a4064e6537374c896506add24a" | ||
|
||
# the ports that go server runs on | ||
EXPOSE 8153 8154 | ||
EXPOSE 8153 | ||
|
||
ADD https://github.com/krallin/tini/releases/download/v0.18.0/tini-static-amd64 /usr/local/sbin/tini | ||
|
||
|
@@ -94,7 +94,7 @@ RUN \ | |
apk del --purge .build-deps glibc-i18n && \ | ||
rm -rf /tmp/*.apk /tmp/gcc /tmp/gcc-libs.tar.xz /tmp/libz /tmp/libz.tar.xz /var/cache/apk/* && \ | ||
# end installing adoptopenjre && \ | ||
curl --fail --location --silent --show-error 'https://github.com/AdoptOpenJDK/openjdk13-binaries/releases/download/jdk-13.0.1%2B9/OpenJDK13U-jre_x64_linux_hotspot_13.0.1_9.tar.gz' --output /tmp/jre.tar.gz && \ | ||
curl --fail --location --silent --show-error 'https://github.com/AdoptOpenJDK/openjdk13-binaries/releases/download/jdk-13.0.2%2B8/OpenJDK13U-jre_x64_linux_hotspot_13.0.2_8.tar.gz' --output /tmp/jre.tar.gz && \ | ||
mkdir -p /gocd-jre && \ | ||
tar -xf /tmp/jre.tar.gz -C /gocd-jre --strip 1 && \ | ||
rm -rf /tmp/jre.tar.gz && \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters