minecraft-pi-docker/Dockerfile

21 lines
407 B
Docker
Raw Normal View History

2021-09-12 03:18:12 +00:00
FROM debian:bullseye-slim
2021-06-21 17:26:55 +00:00
# Install
RUN \
apt-get update && \
2022-06-11 01:59:57 +00:00
apt-get install -y tini sed patchelf qemu-user && \
2021-06-21 17:26:55 +00:00
apt-get --fix-broken install -y && \
rm -rf /var/lib/apt/lists/*
2022-06-11 01:59:57 +00:00
# Copy
2022-03-09 23:47:31 +00:00
RUN mkdir /app
2022-06-11 01:59:57 +00:00
ADD ./out/server-amd64 /app
2022-03-09 23:47:31 +00:00
2021-06-21 17:26:55 +00:00
# Setup Working Directory
RUN mkdir /data
WORKDIR /data
# Setup Entrypoint
ENTRYPOINT ["/usr/bin/tini", "--"]
2022-06-11 01:59:57 +00:00
CMD ["/app/usr/bin/minecraft-pi-reborn-server"]