generated from oci/template
rebase to dotnet containter
All checks were successful
Build Docker Image on Commit / build-and-publish (push) Successful in 57s
All checks were successful
Build Docker Image on Commit / build-and-publish (push) Successful in 57s
This commit is contained in:
parent
6531e9422a
commit
7e2e006c62
10 changed files with 33 additions and 109 deletions
49
Dockerfile
49
Dockerfile
|
@ -1,4 +1,4 @@
|
|||
FROM public.ecr.aws/docker/library/debian:12
|
||||
FROM mcr.microsoft.com/dotnet/runtime
|
||||
|
||||
ENV \
|
||||
LANG="en_US.UTF-8" \
|
||||
|
@ -9,48 +9,25 @@ WORKDIR /root
|
|||
|
||||
# Install Base Packages
|
||||
RUN apt update && apt upgrade -y \
|
||||
&& dpkg --add-architecture i386 \
|
||||
&& apt install -y \
|
||||
&& dpkg --add-architecture i386
|
||||
RUN DEBIAN_FRONTEND=noninteractive \
|
||||
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
|
||||
jq \
|
||||
lib32gcc-s1 \
|
||||
libopus-dev \
|
||||
libopus0 \
|
||||
locales \
|
||||
mono-complete \
|
||||
opus-tools
|
||||
|
||||
# make data directories
|
||||
RUN mkdir -p /data/resonite /data/steamcmd
|
||||
VOLUME [ "/etc/crystite", "/data/resonite", "/data/steamcmd", "/data/home" ]
|
||||
VOLUME [ "/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=""
|
||||
|
@ -58,7 +35,7 @@ ENV RESONITE_MOD_LOADER=false
|
|||
ENV MOD_URLS=""
|
||||
ENV STOP_LAUNCH=false
|
||||
|
||||
COPY crystite /mnt/crystite
|
||||
COPY defaults /mnt/defaults
|
||||
COPY scripts /scripts
|
||||
RUN chmod +x /scripts/*
|
||||
ENTRYPOINT ["/scripts/00_setup.sh"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue