'update files with ansible'
This commit is contained in:
parent
e0c656c16d
commit
2ca875cdfe
@ -6,8 +6,8 @@ LABEL maintainer="Jonathan Ervine docker@ervine.org"
|
|||||||
RUN apt update && apt upgrade -y && \
|
RUN apt update && apt upgrade -y && \
|
||||||
apt install unzip curl -y && \
|
apt install unzip curl -y && \
|
||||||
mkdir /bedrock && cd /bedrock && \
|
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 && \
|
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.201.02.zip && \
|
rm bedrock-server-1.16.210.06.zip && \
|
||||||
addgroup bedrock && \
|
addgroup bedrock && \
|
||||||
adduser --no-create-home --uid 1027 --ingroup bedrock --disabled-password --quiet --shell /bin/bash --gecos bedrock bedrock && \
|
adduser --no-create-home --uid 1027 --ingroup bedrock --disabled-password --quiet --shell /bin/bash --gecos bedrock bedrock && \
|
||||||
chown -R bedrock:bedrock /bedrock
|
chown -R bedrock:bedrock /bedrock
|
||||||
|
|||||||
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -27,11 +27,11 @@ spec:
|
|||||||
stage('Build with Kaniko') {
|
stage('Build with Kaniko') {
|
||||||
git url: 'ssh://git@git.ervine.org/jonny/x86_64-debian-bedrock.git', credentialsId: 'jenkins-to-git'
|
git url: 'ssh://git@git.ervine.org/jonny/x86_64-debian-bedrock.git', credentialsId: 'jenkins-to-git'
|
||||||
container('kaniko') {
|
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') {
|
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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user