FROM debian:buster-slim LABEL maintainer="Jonathan Ervine docker@ervine.org" # Install updates 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.18.12.01.zip && unzip bedrock-server-1.18.12.01.zip && \ rm bedrock-server-1.18.12.01.zip && \ chmod 755 /bedrock/bedrock_server && \ addgroup bedrock && \ adduser --no-create-home --uid 1027 --ingroup bedrock --disabled-password --quiet --shell /bin/bash --gecos bedrock bedrock && \ chown -R bedrock:bedrock /bedrock ADD start.sh /usr/local/bin/ EXPOSE 19132 19132/udp VOLUME data CMD [ "/usr/local/bin/start.sh" ]