diff --git a/build-factario-container.jenkins b/build-factario-container.jenkins index d859c52..401d4c4 100644 --- a/build-factario-container.jenkins +++ b/build-factario-container.jenkins @@ -100,7 +100,12 @@ RUN \\ " --server-adminlist \${CONFIG}/server-adminlist.json \\\\" \\ " --rcon-password \\\"\\\$(cat \${CONFIG}/rconpw)\\\" \\\\" \\ " --server-id /factorio/config/server-id.json \\\\" \\ - " \${@}" + " \${@}" > ./start-server.sh && \\ + chmod +x ./start-server.sh + +USER factorio + +CMD ./start-server.sh """ podTemplate(