Added iproute2 and net-tools to docker image to facilitate diagnosing network issues

This commit is contained in:
Ben Wallis 2022-05-30 21:15:21 +01:00
parent d56e0de392
commit 99a992d985

View File

@ -6,11 +6,14 @@ LABEL com.centurylinklabs.watchtower.stop-signal="SIGUSR1"
ARG PROJECTNAME=server-cli ARG PROJECTNAME=server-cli
# librust-backtrace+libbacktrace-dev = backtrace functionality # librust-backtrace+libbacktrace-dev = backtrace functionality
# iproute2 and net-tools for diagnostic purposes
RUN apt-get update \ RUN apt-get update \
&& export DEBIAN_FRONTEND=noninteractive \ && export DEBIAN_FRONTEND=noninteractive \
&& apt-get install -y --no-install-recommends --assume-yes \ && apt-get install -y --no-install-recommends --assume-yes \
ca-certificates \ ca-certificates \
librust-backtrace+libbacktrace-dev \ librust-backtrace+libbacktrace-dev \
iproute2 \
net-tools \
&& rm -rf /var/lib/apt/lists/*; && rm -rf /var/lib/apt/lists/*;
COPY ./veloren-server-cli /opt/veloren-server-cli COPY ./veloren-server-cli /opt/veloren-server-cli