Explicitly set progress to plain for easier debugging, label the final stage of the build

This commit is contained in:
Salt 2022-05-17 11:24:15 -05:00
parent d410061076
commit a107b4b76e
2 changed files with 2 additions and 1 deletions

View File

@ -18,7 +18,7 @@ RUN apk add curl &&\
ln -s "forge-${MINECRAFT_VERSION}-${FORGE_VERSION}.jar" server.jar ln -s "forge-${MINECRAFT_VERSION}-${FORGE_VERSION}.jar" server.jar
# Stuff them in a smaller container with fewer layers # Stuff them in a smaller container with fewer layers
FROM alpine:latest FROM alpine:latest AS final
RUN apk add bash rsync screen &&\ RUN apk add bash rsync screen &&\
apk add "${JRE_VERSION}" apk add "${JRE_VERSION}"
WORKDIR /minecraft WORKDIR /minecraft

View File

@ -46,6 +46,7 @@ for mc in ${mcversions[@]}; do
--build-arg JRE_VERSION="$jre" \ --build-arg JRE_VERSION="$jre" \
--no-cache \ --no-cache \
--platform linux/amd64 \ --platform linux/amd64 \
--progress plain \
--tag "$tag" \ --tag "$tag" \
--push \ --push \
. .