Compare commits

..

No commits in common. "d4471635f59bab7f2e2d7d1fb4dff8c76149bf3d" and "8fb9a0d8a87a1e53273f4bfdef68baca6ddfffea" have entirely different histories.

View File

@ -10,6 +10,10 @@ LABEL org.opencontainers.image.description="Minecraft Vanilla Server Java Editio
LABEL org.opencontainers.image.base.name="hub.docker.com/openjdk:18-jdk-alpine3.13" LABEL org.opencontainers.image.base.name="hub.docker.com/openjdk:18-jdk-alpine3.13"
LABEL org.opencontainers.image.title="Minecraft Vanilla Server Java Edition" LABEL org.opencontainers.image.title="Minecraft Vanilla Server Java Edition"
RUN apk update && \
apk add --no-cache --update coreutils && \
apk add --no-cache --update tzdata curl unzip bash
ENV TZ=Europe/Berlin ENV TZ=Europe/Berlin
ENV MINECRAFT_SERVER_VERSION="$MINECRAFT_SERVER_VERSION" ENV MINECRAFT_SERVER_VERSION="$MINECRAFT_SERVER_VERSION"
@ -21,9 +25,6 @@ VOLUME /app
ADD $DOWNLOAD_URL /opt/server.jar ADD $DOWNLOAD_URL /opt/server.jar
COPY app /app COPY app /app
RUN apk update && \
apk add --no-cache --update coreutils && \
apk add --no-cache --update tzdata bash
RUN chmod 755 /app/entrypoint.sh RUN chmod 755 /app/entrypoint.sh
RUN echo "eula=true" > /app/eula.txt RUN echo "eula=true" > /app/eula.txt