Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#4215 - Ability to specify GID and UID for the user used inside the Docker image #4216

Conversation

reckart
Copy link
Member

@reckart reckart commented Sep 29, 2023

What's in the PR

  • Added ENV variables to define the APP_UID and APP_GID
  • Added a wrapper boot script which ensures that all relevant files belong to these UID/GID

How to test manually

  • Build INCEpTION (mvn clean install -DskipTests)
  • Build the Docker image in inception/inception-docker using mvn -Pdocker clean docker:build
  • Run the image using e.g. docker run -e APP_UID=1234 -e APP_GID=4321 -it ghcr.io/inception-project/inception-snapshots:latest
  • Check that the UID/GID used by the INCEpTION process and files are as specified

Automatic testing

  • PR includes unit tests

Documentation

  • PR updates documentation

…ocker image

- Added ENV variables to define the APP_UID and APP_GID
- Added a wrapper boot script which ensures that all relevant files belong to these UID/GID
@reckart reckart added the ⭐️ Enhancement New feature or request label Sep 29, 2023
@reckart reckart added this to the 29.4 milestone Sep 29, 2023
@reckart reckart self-assigned this Sep 29, 2023
@reckart reckart merged commit 65ff8e1 into release/29.x Oct 3, 2023
@reckart reckart deleted the feature/4215-Ability-to-specify-GID-and-UID-for-the-user-used-inside-the-Docker-image branch October 3, 2023 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⭐️ Enhancement New feature or request
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant