Require all commands to succeed in server-cli Dockerfile

This commit is contained in:
Imbris 2021-06-07 13:31:01 -04:00
parent 7e8bebdfa1
commit df16c20eb4

View File

@ -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