From f0323cd5fa507eb8a651ce7a11e13dcff7858667 Mon Sep 17 00:00:00 2001 From: The_Spider Date: Tue, 25 May 2021 17:56:39 +0000 Subject: [PATCH] Update 'build-minecraft.jenkins' --- build-minecraft.jenkins | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) 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