2020-02-25 23:10:00 +00:00
|
|
|
FROM debian:stable-slim
|
|
|
|
|
2020-10-03 19:10:34 +00:00
|
|
|
# SIGUSR1 causes veloren-server-cli to initiate a graceful shutdown
|
|
|
|
LABEL com.centurylinklabs.watchtower.stop-signal="SIGUSR1"
|
|
|
|
|
2020-02-25 23:10:00 +00:00
|
|
|
ARG PROJECTNAME=server-cli
|
|
|
|
|
2020-04-09 11:22:34 +00:00
|
|
|
# librust-backtrace+libbacktrace-dev = backtrace functionality
|
2022-05-30 20:15:21 +00:00
|
|
|
# iproute2 and net-tools for diagnostic purposes
|
2021-06-07 17:31:01 +00:00
|
|
|
RUN apt-get update \
|
|
|
|
&& export DEBIAN_FRONTEND=noninteractive \
|
|
|
|
&& apt-get install -y --no-install-recommends --assume-yes \
|
2021-03-11 23:08:34 +00:00
|
|
|
ca-certificates \
|
2021-06-07 17:31:01 +00:00
|
|
|
librust-backtrace+libbacktrace-dev \
|
2022-05-30 20:15:21 +00:00
|
|
|
iproute2 \
|
|
|
|
net-tools \
|
2021-06-07 17:31:01 +00:00
|
|
|
&& rm -rf /var/lib/apt/lists/*;
|
2020-04-09 11:22:34 +00:00
|
|
|
|
2020-02-25 23:10:00 +00:00
|
|
|
COPY ./veloren-server-cli /opt/veloren-server-cli
|
|
|
|
COPY ./assets/common /opt/assets/common
|
2021-03-15 13:46:16 +00:00
|
|
|
COPY ./assets/server /opt/assets/server
|
2020-02-25 23:10:00 +00:00
|
|
|
COPY ./assets/world /opt/assets/world
|
2020-03-22 12:44:32 +00:00
|
|
|
|
|
|
|
WORKDIR /opt
|
2020-11-30 16:46:36 +00:00
|
|
|
|
|
|
|
ENV RUST_BACKTRACE=full
|
|
|
|
ENTRYPOINT ["/opt/veloren-server-cli"]
|