pelican-eggs / yolks

Docker images designed for use with Pterodactyl's Egg system.
MIT License
89 stars 248 forks source link

Fix getwuid for source container #171

Closed RIKRUS closed 1 year ago

RIKRUS commented 1 year ago

Description

Fix getpwuid for source image

All Submissions:

New Image Submissions:

  1. [ ] Have you added your image to the Github workflows?
  2. [ ] Have you updated the README list to contain your new image?
QuintenQVD0 commented 1 year ago

how you ever tryed if it worked as in my testing it does not? also the default uid for the container user is 988

QuintenQVD0 commented 1 year ago

I am closing this as this will cause some issues as the UID en GID will not always be 994. For example, if the container is running in docker, it will be 988. It is been worked on, on the wings side. you can always make your own docker image and use a wrapper to fake this as example here: https://github.com/parkervcp/yolks/blob/dbe89a4771cba2ed313fbe58cdda6dd00e2724bb/games/dayz/Dockerfile#L35

parkervcp commented 1 year ago

The ID used changes per host as well. We assign the id based on the sustem users already in place. It's part of the adduser command that sets the uid