minecraft-pi-docker/Dockerfile

21 lines
407 B
Docker
Raw Normal View History

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