'update files with ansible'

This commit is contained in:
jonny 2021-03-30 12:22:40 +00:00
parent e0c656c16d
commit 2ca875cdfe
2 changed files with 4 additions and 4 deletions

View File

@ -6,8 +6,8 @@ LABEL maintainer="Jonathan Ervine docker@ervine.org"
RUN apt update && apt upgrade -y && \
apt install unzip curl -y && \
mkdir /bedrock && cd /bedrock && \
curl -LO https://minecraft.azureedge.net/bin-linux/bedrock-server-1.16.201.02.zip && unzip bedrock-server-1.16.201.02.zip && \
rm bedrock-server-1.16.201.02.zip && \
curl -LO https://minecraft.azureedge.net/bin-linux/bedrock-server-1.16.210.06.zip && unzip bedrock-server-1.16.210.06.zip && \
rm bedrock-server-1.16.210.06.zip && \
addgroup bedrock && \
adduser --no-create-home --uid 1027 --ingroup bedrock --disabled-password --quiet --shell /bin/bash --gecos bedrock bedrock && \
chown -R bedrock:bedrock /bedrock

4
Jenkinsfile vendored
View File

@ -27,11 +27,11 @@ spec:
stage('Build with Kaniko') {
git url: 'ssh://git@git.ervine.org/jonny/x86_64-debian-bedrock.git', credentialsId: 'jenkins-to-git'
container('kaniko') {
sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=false --destination=harbor.ervine.dev/public/x86_64/debian/bedrock:latest --destination=harbor.ervine.dev/public/x86_64/debian/bedrock:1.16.201.02'
sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=false --destination=harbor.ervine.dev/public/x86_64/debian/bedrock:latest --destination=harbor.ervine.dev/public/x86_64/debian/bedrock:1.16.210.06'
}
}
stage('Notify gchat') {
hangoutsNotify message: "Bedrock Server 1.16.201.02 on debian has built",token: "A2ET831pVslqXTqAx6ycu573r",threadByJob: false
hangoutsNotify message: "Bedrock Server 1.16.210.06 on debian has built",token: "A2ET831pVslqXTqAx6ycu573r",threadByJob: false
}
}
}