update with fix for steamcmd refusing to update files
All checks were successful
Build Docker Image on Commit / build-and-publish (push) Successful in 3s

This commit is contained in:
Merith-TK 2024-12-10 05:00:37 +00:00
parent 7e2e006c62
commit 1fec55efc0
3 changed files with 17 additions and 12 deletions

View file

@ -20,7 +20,8 @@ RUN DEBIAN_FRONTEND=noninteractive \
libopus0 \
locales \
mono-complete \
opus-tools
opus-tools \
sudo
# make data directories
RUN mkdir -p /data/resonite /data/steamcmd

View file

@ -2,6 +2,7 @@ services:
resonite:
# build: .
image: git.merith.xyz/oci/resonite:nightly
container_name: resonite
network_mode: host
stdin_open: true
@ -20,11 +21,6 @@ services:
## EDIT THESE ENVIRONMENT VARIABLES ##
environment:
# DO NOT REMOVE THIS VALUE
# RUN_AS: 1000
# THIS CONTROLS THE USER ID THAT THE SERVER RUNS AS
# This is specifically so *you* have control over the files]
## Options ##
## These have their defualts set in the Dockerfile, and are safe to remove from this file
@ -39,11 +35,14 @@ services:
COMMAND: "/scripts/99_start.sh"
# Wether to enable the Resonite Mod Loader
RESONITE_MOD_LOADER: false
RESONITE_MOD_LOADER: true
# list of mods to load,
MOD_URLS: |
https://github.com/New-Project-Final-Final-WIP/HeadlessTweaks/releases/latest/download/HeadlessTweaks.dll
https://github.com/Raidriar796/StresslessHeadless/releases/latest/download/StresslessHeadless.dll
# Controls the UID:GID of the headless, defaults to `root` if not set
RUN_AS: 1000
# Does not allow the server to start, helpful for debugging the container as a whole
STOP_LAUNCH: false

View file

@ -18,6 +18,11 @@ export DEFAULT_RESONITE_ARGS="-LogsPath /data/resonite/logs \
$RESONITE_ARGS"
mkdir -p /data/home /data/resonite /data/steamcmd
## set /data to be owned by root user during install
# required because steamcmd checks if folder is owned by current user
chown root:root /data/ -R
## Have to do this here, as otherwise stuff doesnt work for some reason
# using source so runtime vars can be updated as needed
source /scripts/01_install.sh