File tree 3 files changed +9
-6
lines changed
3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 33
33
- java8-graalvm-ce
34
34
- java8-openj9
35
35
- java8-jdk
36
- - java11
37
36
include :
38
37
# JAVA 23
39
38
- variant : java23
75
74
baseImage : eclipse-temurin:17-jre-alpine
76
75
platforms : linux/amd64
77
76
mcVersion : 1.20.4
78
- # JAVA 11:
79
- - variant : java11
80
- baseImage : adoptopenjdk:11-jre-hotspot
81
- platforms : linux/amd64,linux/arm/v7,linux/arm64
82
- mcVersion : 1.16.5
83
77
# JAVA 8: NOTE: Unable to go past 8u312 because of Forge dependencies
84
78
- variant : java8
85
79
baseImage : eclipse-temurin:8u312-b07-jre-focal
@@ -207,5 +201,8 @@ jobs:
207
201
build-args : |
208
202
BASE_IMAGE=${{ matrix.baseImage }}
209
203
BUILD_FILES_REV=${{ steps.build-files-rev.outputs.REV }}
204
+ BUILDTIME=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.created'] }}
205
+ VERSION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
206
+ REVISION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.revision'] }}
210
207
cache-from : type=gha,scope=${{ matrix.variant }}
211
208
cache-to : type=gha,mode=max,scope=${{ matrix.variant }}
Original file line number Diff line number Diff line change @@ -78,3 +78,8 @@ RUN dos2unix /start* /auto/*
78
78
79
79
ENTRYPOINT [ "/start" ]
80
80
HEALTHCHECK --start-period=2m --retries=2 --interval=30s CMD mc-health
81
+
82
+ ARG BUILDTIME=local
83
+ ARG VERSION=local
84
+ ARG REVISION=local
85
+ RUN echo "buildtime=${BUILDTIME}\n version=${VERSION}\n revision=${REVISION}" > /etc/image.properties
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ isDebugging && set -x
32
32
export HOME=/data
33
33
34
34
log " Running as uid=$( id -u) gid=$( id -g) with /data as '$( ls -lnd /data) '"
35
+ log " Image info: $( paste -d, -s /etc/image.properties) "
35
36
36
37
if [ ! -e /data/eula.txt ]; then
37
38
if ! isTrue " $EULA " ; then
You can’t perform that action at this time.
0 commit comments