change Eula handling, disable server start
All checks were successful
Docker Build and Push / build (push) Successful in 1m6s
All checks were successful
Docker Build and Push / build (push) Successful in 1m6s
This commit is contained in:
10
Dockerfile
10
Dockerfile
@ -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"]
|
||||
|
||||
|
Reference in New Issue
Block a user