delete commands apt commands inside entrypoint (failed to launch container user)

This commit is contained in:
DESKTOP-D454JC1\Makaren0 2023-01-22 01:43:34 +01:00
parent 30de1f1db8
commit 2be3ffac23
2 changed files with 1 additions and 3 deletions

View File

@ -14,8 +14,6 @@ export INTERNAL_IP=`ip route get 1 | awk '{print $NF;exit}'`
MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')` MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')`
echo ":/home/container$ ${MODIFIED_STARTUP}" echo ":/home/container$ ${MODIFIED_STARTUP}"
apt-get update -y && apt-get upgrade -y
./steamcmd/steamcmd.sh +force_install_dir /home/container +login anonymous +app_update 258550 +quit ./steamcmd/steamcmd.sh +force_install_dir /home/container +login anonymous +app_update 258550 +quit
if [ -f OXIDE_FLAG ] || [ "${OXIDE}" = 1 ] || [ "${UMOD}" = 1 ]; then if [ -f OXIDE_FLAG ] || [ "${OXIDE}" = 1 ] || [ "${UMOD}" = 1 ]; then

View File

@ -34,7 +34,7 @@ function filter(data) {
} }
var exec = require("child_process").exec; var exec = require("child_process").exec;
console.log("Starting Rust..."); console.log("Starting Rust in wrapper.js...");
var exited = false; var exited = false;
const gameProcess = exec(startupCmd); const gameProcess = exec(startupCmd);