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 \ libopus0 \
locales \ locales \
mono-complete \ mono-complete \
opus-tools opus-tools \
sudo
# make data directories # make data directories
RUN mkdir -p /data/resonite /data/steamcmd RUN mkdir -p /data/resonite /data/steamcmd

View file

@ -2,6 +2,7 @@ services:
resonite: resonite:
# build: . # build: .
image: git.merith.xyz/oci/resonite:nightly image: git.merith.xyz/oci/resonite:nightly
container_name: resonite container_name: resonite
network_mode: host network_mode: host
stdin_open: true stdin_open: true
@ -15,16 +16,11 @@ services:
- ./data/resonite:/data/resonite:rw - ./data/resonite:/data/resonite:rw
- ./data/steamcmd:/data/steamcmd:rw - ./data/steamcmd:/data/steamcmd:rw
# mount scripts for runtime, optional # mount scripts for runtime, optional
- ./scripts:/scripts:ro - ./scripts:/scripts:ro
## EDIT THESE ENVIRONMENT VARIABLES ## ## EDIT THESE ENVIRONMENT VARIABLES ##
environment: 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 ## ## Options ##
## These have their defualts set in the Dockerfile, and are safe to remove from this file ## 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" COMMAND: "/scripts/99_start.sh"
# Wether to enable the Resonite Mod Loader # Wether to enable the Resonite Mod Loader
RESONITE_MOD_LOADER: false RESONITE_MOD_LOADER: true
# list of mods to load, # list of mods to load,
MOD_URLS: | MOD_URLS: |
https://github.com/New-Project-Final-Final-WIP/HeadlessTweaks/releases/latest/download/HeadlessTweaks.dll 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 # Does not allow the server to start, helpful for debugging the container as a whole
STOP_LAUNCH: false STOP_LAUNCH: false

View file

@ -18,6 +18,11 @@ export DEFAULT_RESONITE_ARGS="-LogsPath /data/resonite/logs \
$RESONITE_ARGS" $RESONITE_ARGS"
mkdir -p /data/home /data/resonite /data/steamcmd 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 ## Have to do this here, as otherwise stuff doesnt work for some reason
# using source so runtime vars can be updated as needed # using source so runtime vars can be updated as needed
source /scripts/01_install.sh source /scripts/01_install.sh