diff --git a/build-minecraft.jenkins b/build-minecraft.jenkins index f1c0f31..f0609bd 100644 --- a/build-minecraft.jenkins +++ b/build-minecraft.jenkins @@ -66,13 +66,19 @@ FROM ${baseImage}:${baseImageTag} MAINTAINER The_Spider -RUN apk add --no-cache ${alpineJavaPackage} curl && \\ - addgroup -S -g 1000 minecraft && \\ - adduser -S minecraft -G minecraft -h /minecraft -u 1000 && \\ - curl -Ls "${paperMCDownload}" -o /minecraft/paper-mc.jar && \\ - mkdir /minecraft/data && \\ - mkdir /minecraft/html && \\ - chown -R minecraft:minecraft /minecraft +RUN printf '%s\\n' "aHR0cHM6Ly9kbC1jZG4uYWxwaW5lbGludXgub3JnL2FscGluZS9lZGdlL21haW4KaHR0cHM6Ly9k" \\ + "bC1jZG4uYWxwaW5lbGludXgub3JnL2FscGluZS9lZGdlL2NvbW11bml0eQpodHRwczovL2RsLWNk" \\ + "bi5hbHBpbmVsaW51eC5vcmcvYWxwaW5lL2VkZ2UvdGVzdGluZwo=" > /etc/apk/repositories && \\ + apk update && \\ + apk upgrade -y && \\ + apk add --no-cache ${alpineJavaPackage} curl && \\ + apk cache --purge && \\ + addgroup -S -g 1000 minecraft && \\ + adduser -S minecraft -G minecraft -h /minecraft -u 1000 && \\ + curl -Ls "${paperMCDownload}" -o /minecraft/paper-mc.jar && \\ + mkdir /minecraft/data && \\ + mkdir /minecraft/html && \\ + chown -R minecraft:minecraft /minecraft USER minecraft