Update 'build-minecraft.jenkins'
This commit is contained in:
parent
fdac1f8577
commit
0f6e59479b
@ -67,7 +67,7 @@ FROM ${baseImage}:${baseImageTag}
|
|||||||
MAINTAINER The_Spider <spider@smoothnet.org>
|
MAINTAINER The_Spider <spider@smoothnet.org>
|
||||||
|
|
||||||
RUN sed -i -r -e 's/v3.14\\/community/edge\\/community/' /etc/apk/repositories && \\
|
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 && \\
|
addgroup -S -g 1000 minecraft && \\
|
||||||
adduser -S minecraft -G minecraft -h /minecraft -u 1000 && \\
|
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') && \\
|
paperBuild=\$(curl --silent --location --fail https://papermc.io/api/v2/projects/paper/versions/${paperVersion} | jq '.builds | max') && \\
|
||||||
|
Reference in New Issue
Block a user