satisfactory-server icon indicating copy to clipboard operation
satisfactory-server copied to clipboard

Switch to steamcmd/steamcmd:ubuntu-24

Open goofball222 opened this issue 1 year ago • 2 comments
trafficstars

  • Move the ENV section ahead of the RUN sections in the Dockerfile to be able to use the preset PGID and PUID.
  • Move DEBIAN_FRONTEND=noninteractive to ENV section.
  • Solve for UID & GID 1000 already in use by removing ubuntu user & group. userdel handles both in one command.
  • Create steam group and user with PGID and PUID from ENV vars, default 1000.
  • Add tzdata package to insure Docker TZ environment variable functions. Without tzdata the container doesn't know how to apply timezone changes / offsets.

goofball222 avatar Sep 24 '24 00:09 goofball222

Hey @goofball222! Apologies for not reviewing this yet. I'm very hesitant with rebasing the image, after the slew of issues it caused before. I'll properly review this once I can find the time to adequately test it out :) Thanks!

wolveix avatar Sep 26 '24 21:09 wolveix

Anecdotally, I've been running a server off a build of this Dockerfile since I submitted the PR. No issues so far that I've noticed. Server has been through several restarts, etc.

No worries, take your time on review and / or feel free to close this out. Just wanted to share my solution to the reported problems with UID/GID conflicts reported from the first go-round with the Ubuntu 24 base.

goofball222 avatar Sep 27 '24 21:09 goofball222

Thanks for waiting! I'm going to release this as v1.9.0 and see how we go :) Great stuff!

wolveix avatar Dec 04 '24 13:12 wolveix