'update files with ansible'
This commit is contained in:
parent
f333d0b9f9
commit
e0c656c16d
18
Dockerfile
18
Dockerfile
@ -1,22 +1,16 @@
|
|||||||
FROM debian:buster-slim
|
FROM debian:buster-slim
|
||||||
|
|
||||||
LABEL maintainer="Jonathan Ervine <docker@ervine.org>"
|
LABEL maintainer="Jonathan Ervine docker@ervine.org"
|
||||||
|
|
||||||
# Set ENV variables
|
|
||||||
ENV VERSION='1.16.201.02' \
|
|
||||||
BEDROCK_USER='bedrock' \
|
|
||||||
BEDROCK_UID='1003'
|
|
||||||
|
|
||||||
# Install updates
|
# Install updates
|
||||||
|
|
||||||
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-$VERSION.zip && unzip bedrock-server-$VERSION.zip && \
|
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-$VERSION.zip && \
|
rm bedrock-server-1.16.201.02.zip && \
|
||||||
addgroup $BEDROCK_USER && \
|
addgroup bedrock && \
|
||||||
adduser --no-create-home --uid $BEDROCK_UID --ingroup $BEDROCK_USER --disabled-password --quiet --shell /bin/bash --gecos bedrock $BEDROCK_USER && \
|
adduser --no-create-home --uid 1027 --ingroup bedrock --disabled-password --quiet --shell /bin/bash --gecos bedrock bedrock && \
|
||||||
chown -R $BEDROCK_USER:$BEDROCK_USER /bedrock
|
chown -R bedrock:bedrock /bedrock
|
||||||
|
|
||||||
ADD start.sh /usr/local/bin/
|
ADD start.sh /usr/local/bin/
|
||||||
|
|
||||||
|
|||||||
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -3,7 +3,7 @@ kind: Pod
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: kaniko
|
- name: kaniko
|
||||||
image: gcr.io/kaniko-project/executor:debug-539ddefcae3fd6b411a95982a830d987f4214251
|
image: gcr.io/kaniko-project/executor:debug
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
command:
|
command:
|
||||||
- /busybox/cat
|
- /busybox/cat
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user