minecraft-pi-reborn/Dockerfile
TheBrokenRail 6d79beeeb6
All checks were successful
minecraft-pi-reborn/pipeline/head This commit looks good
Build (And Publish) Docker Image
2021-06-21 13:51:35 -04:00

22 lines
454 B
Docker

FROM debian:bullseye
# Copy DEB
ADD ./out/minecraft-pi-reborn-server_*~bullseye_amd64.deb /root
# Install
RUN \
apt-get update && \
apt-get install -y tini && \
(dpkg -i /root/*.deb || :) && \
apt-get --fix-broken install -y && \
rm -f /root/*.deb && \
rm -rf /var/lib/apt/lists/*
# Setup Working Directory
RUN mkdir /data
WORKDIR /data
# Setup Entrypoint
ENTRYPOINT ["/usr/bin/tini", "--"]
CMD ["minecraft-pi-reborn-server"]