Update 'build-minecraft.jenkins'

This commit is contained in:
Hyatt 2021-11-28 00:08:03 +00:00
parent fdac1f8577
commit 0f6e59479b

View File

@ -67,7 +67,7 @@ FROM ${baseImage}:${baseImageTag}
MAINTAINER The_Spider <spider@smoothnet.org>
RUN sed -i -r -e 's/v3.14\\/community/edge\\/community/' /etc/apk/repositories && \\
apk add --no-cache ${alpineJavaPackage} curl && \\
apk add --no-cache ${alpineJavaPackage} curl jq && \\
addgroup -S -g 1000 minecraft && \\
adduser -S minecraft -G minecraft -h /minecraft -u 1000 && \\
paperBuild=\$(curl --silent --location --fail https://papermc.io/api/v2/projects/paper/versions/${paperVersion} | jq '.builds | max') && \\