From 1c1bb82f90b382db34120509c618bfe5d22cf15a Mon Sep 17 00:00:00 2001 From: William Miceli <1-WilliamMiceli@git.williammiceli.systems> Date: Sat, 31 Aug 2019 18:00:02 -0400 Subject: [PATCH] Trying apt-get instead of apt due to warnings of apt not having a stable CLI interface; fixed confirmation for autoremove --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6b135d8..d9ea737 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,9 +4,9 @@ USER root ARG MC_SERVER_VERSION -RUN apt update && apt install -y curl \ +RUN apt-get update && apt-get install -y curl \ && curl -o /MinecraftServer.zip https://minecraft.azureedge.net/bin-linux/bedrock-server-${MC_SERVER_VERSION}.zip \ - && apt purge -y curl && apt autoremove && rm /var/lib/apt/lists/* + && apt-get purge -y curl && apt-get autoremove -y && rm /var/lib/apt/lists/* COPY /entrypoint.sh /