From df16c20eb46c7beb5e487a461dc59fe9827d6346 Mon Sep 17 00:00:00 2001 From: Imbris Date: Mon, 7 Jun 2021 13:31:01 -0400 Subject: [PATCH] Require all commands to succeed in server-cli Dockerfile --- server-cli/Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/server-cli/Dockerfile b/server-cli/Dockerfile index a812f8e6cf..0c4033e57d 100644 --- a/server-cli/Dockerfile +++ b/server-cli/Dockerfile @@ -6,11 +6,12 @@ LABEL com.centurylinklabs.watchtower.stop-signal="SIGUSR1" ARG PROJECTNAME=server-cli # librust-backtrace+libbacktrace-dev = backtrace functionality -RUN apt-get update; export DEBIAN_FRONTEND=noninteractive; \ - apt-get install -y --no-install-recommends --assume-yes \ +RUN apt-get update \ + && export DEBIAN_FRONTEND=noninteractive \ + && apt-get install -y --no-install-recommends --assume-yes \ ca-certificates \ - librust-backtrace+libbacktrace-dev; \ - rm -rf /var/lib/apt/lists/*; + librust-backtrace+libbacktrace-dev \ + && rm -rf /var/lib/apt/lists/*; COPY ./veloren-server-cli /opt/veloren-server-cli COPY ./assets/common /opt/assets/common