2024-12-09 21:58:51 +00:00
|
|
|
FROM mcr.microsoft.com/dotnet/runtime
|
2024-11-19 04:30:43 +00:00
|
|
|
|
|
|
|
ENV \
|
|
|
|
LANG="en_US.UTF-8" \
|
|
|
|
LC_ALL="en_US.UTF-8"
|
|
|
|
|
|
|
|
USER root
|
|
|
|
WORKDIR /root
|
|
|
|
|
|
|
|
# Install Base Packages
|
|
|
|
RUN apt update && apt upgrade -y \
|
2024-12-09 21:58:51 +00:00
|
|
|
&& dpkg --add-architecture i386
|
|
|
|
RUN DEBIAN_FRONTEND=noninteractive \
|
|
|
|
apt install -y \
|
2024-11-19 04:30:43 +00:00
|
|
|
apt-transport-https \
|
|
|
|
curl \
|
2024-12-09 21:58:51 +00:00
|
|
|
jq \
|
|
|
|
lib32gcc-s1 \
|
|
|
|
libopus-dev \
|
|
|
|
libopus0 \
|
|
|
|
locales \
|
|
|
|
mono-complete \
|
2024-12-10 05:00:37 +00:00
|
|
|
opus-tools \
|
|
|
|
sudo
|
2024-11-19 04:30:43 +00:00
|
|
|
|
|
|
|
# make data directories
|
|
|
|
RUN mkdir -p /data/resonite /data/steamcmd
|
2024-12-09 21:58:51 +00:00
|
|
|
VOLUME [ "/data/resonite", "/data/steamcmd", "/data/home" ]
|
2024-11-19 04:30:43 +00:00
|
|
|
|
|
|
|
# DEFAULT ENVS
|
|
|
|
ENV DISABLE_STEAMCMD=false
|
|
|
|
ENV CONFIG_FILE="/data/Config.json"
|
|
|
|
ENV COMMAND="/scripts/99_start.sh"
|
|
|
|
ENV RESONITE_ARGS=""
|
|
|
|
ENV RESONITE_MOD_LOADER=false
|
|
|
|
ENV MOD_URLS=""
|
|
|
|
ENV STOP_LAUNCH=false
|
|
|
|
|
2024-12-09 21:58:51 +00:00
|
|
|
COPY defaults /mnt/defaults
|
2024-11-19 04:30:43 +00:00
|
|
|
COPY scripts /scripts
|
|
|
|
RUN chmod +x /scripts/*
|
|
|
|
ENTRYPOINT ["/scripts/00_setup.sh"]
|
|
|
|
|