Adds some docker files

This commit is contained in:
zontreck 2024-05-24 16:13:27 -07:00
parent 68130285bc
commit a393aadada
5 changed files with 45 additions and 2 deletions

View file

@ -0,0 +1,10 @@
FROM debian:latest
RUN apt-get update -y
RUN apt-get upgrade -y
RUN apt-get install -y gnupg2 numactl tzdata software-properties-common libntlm0 winbind xvfb xauth python3 libncurses5:i386 libncurses6:i386 libsdl2-2.0-0 libsdl2-2.0-0:i386
FROM git.zontreck.com/zontreck/conanservermanager:stable
COPY ./entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]

View file

@ -0,0 +1,15 @@
#!/bin/bash
# Copied the entrypoint and slightly altered, from parkervcp's dart yolk.
cd /home/container
# Print Dart version
dart --version
# Replace startup variables
MODIFIED_STARTUP=$(echo -e ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')
echo ":/home/container$ ${MODIFIED_STARTUP}"
# Run the server
eval ${MODIFIED_STARTUP}