change Eula handling, disable server start
All checks were successful
Docker Build and Push / build (push) Successful in 1m6s

This commit is contained in:
2025-03-29 06:11:18 -04:00
parent 2037324375
commit cff62979ff
4 changed files with 40 additions and 10 deletions

View File

@ -8,13 +8,14 @@ ENV DEBIAN_FRONTEND=noninteractive
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# install prerequisites
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
RUN apt-get update && \
apt-get install -y --no-install-recommends \
curl \
ca-certificates \
jq \
libxml2-utils \
sudo && \
sudo \
tini && \
apt-get autoremove && apt-get clean && \
rm -rf /var/lib/apt/lists/*
@ -33,4 +34,5 @@ RUN chmod +x /init && chmod +x /usr/local/bin/mc
USER minecraft
CMD ["/init"]
ENTRYPOINT ["tini", "--", "/init"]