generated from oci/template
merith-tk
6531e9422a
All checks were successful
Build Docker Image on Commit / build-and-publish (push) Successful in 5m30s
65 lines
2.1 KiB
Docker
65 lines
2.1 KiB
Docker
FROM public.ecr.aws/docker/library/debian:12
|
|
|
|
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 \
|
|
&& dpkg --add-architecture i386 \
|
|
&& apt install -y \
|
|
apt-transport-https \
|
|
dirmngr \
|
|
gnupg \
|
|
ca-certificates \
|
|
iproute2 \
|
|
unzip \
|
|
sqlite3 \
|
|
fontconfig \
|
|
lib32gcc-s1 \
|
|
curl \
|
|
wget \
|
|
screen \
|
|
sudo \
|
|
youtube-dl \
|
|
jq
|
|
|
|
# Install Mono
|
|
RUN export GNUPGHOME=$(mktemp -d) \
|
|
&& gpg --recv-keys --no-default-keyring --keyring /etc/apt/trusted.gpg.d/mono-keyring.gpg --keyserver keyserver.ubuntu.com 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF \
|
|
&& echo "deb [signed-by=/etc/apt/trusted.gpg.d/mono-keyring.gpg] https://download.mono-project.com/repo/debian stable-buster main" > /etc/apt/sources.list.d/mono-official-stable.list \
|
|
&& wget https://packages.microsoft.com/config/debian/12/packages-microsoft-prod.deb -O packages-microsoft-prod.deb \
|
|
&& dpkg -i packages-microsoft-prod.deb \
|
|
&& rm packages-microsoft-prod.deb \
|
|
&& apt-get update \
|
|
&& apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install -y mono-complete
|
|
|
|
# Install Crystite
|
|
RUN echo 'deb [signed-by=/usr/share/keyrings/algiz.gpg] https://repo.algiz.nu/crystite bookworm main' | tee /etc/apt/sources.list.d/crystite.list \
|
|
&& mkdir -p /usr/share/keyrings \
|
|
&& wget -O /usr/share/keyrings/algiz.gpg https://repo.algiz.nu/algiz.gpg \
|
|
&& apt-get update \
|
|
&& apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install -y crystite
|
|
|
|
# make data directories
|
|
RUN mkdir -p /data/resonite /data/steamcmd
|
|
VOLUME [ "/etc/crystite", "/data/resonite", "/data/steamcmd", "/data/home" ]
|
|
|
|
# DEFAULT ENVS
|
|
ENV DISABLE_STEAMCMD=false
|
|
ENV USE_CRYSTITE=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
|
|
|
|
COPY crystite /mnt/crystite
|
|
COPY scripts /scripts
|
|
RUN chmod +x /scripts/*
|
|
ENTRYPOINT ["/scripts/00_setup.sh"]
|
|
|