Install curl, then remove all apt lists

This commit is contained in:
William Miceli
2019-08-31 17:50:26 -04:00
parent 671838e0b6
commit 3167ddbbfb

View File

@@ -4,7 +4,9 @@ USER root
ARG MC_SERVER_VERSION ARG MC_SERVER_VERSION
RUN curl -o /MinecraftServer.zip https://minecraft.azureedge.net/bin-linux/bedrock-server-${MC_SERVER_VERSION}.zip RUN apt update && apt install curl \
&& curl -o /MinecraftServer.zip https://minecraft.azureedge.net/bin-linux/bedrock-server-${MC_SERVER_VERSION}.zip \
&& rm /var/lib/apt/lists/*
COPY /entrypoint.sh / COPY /entrypoint.sh /