Skip to content
Snippets Groups Projects
Commit 38d3a4a7 authored by Stefano Alberto Russo's avatar Stefano Alberto Russo
Browse files

Fixed issue in the standalone computing rosetta user UID/GID values with Podman.

parent 70cbc033
No related branches found
No related tags found
No related merge requests found
......@@ -33,11 +33,11 @@ COPY registries.conf /etc/containers/registries.conf
# Rosetta user
#------------------------
# Add group. We chose GID 65527 to try avoiding conflicts.
RUN groupadd -g 65527 rosetta
# Add group. We chose GID 1001 as higher GIDs (i.e. 65527) raise issues with Podman GIDs namespace mapping.
RUN groupadd -g 1001 rosetta
# Add user. We chose UID 65527 to try avoiding conflicts.
RUN useradd rosetta -d /rosetta -u 65527 -g 65527 -m -s /bin/bash
# Add user. We chose UID 1001 as higher UIDs (i.e. 65527) raise issues with Podman UIDs namespace mapping.
RUN useradd rosetta -d /rosetta -u 1001 -g 1001 -m -s /bin/bash
# Add rosetta user to sudoers
RUN usermod -aG wheel rosetta
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment