Skip to content

Commit

Permalink
same uid/gid
Browse files Browse the repository at this point in the history
  • Loading branch information
nic11 committed Dec 22, 2024
1 parent ed791a6 commit 22387a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/pr-ubuntu-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ jobs:
--name prepare_deps_container \
-v "${{github.workspace}}:/src" \
-e "CI=$CI" \
-e "CREATE_UID=`id -u`" \
-e "CREATE_GID=`id -g`" \
"$base_image" \
'/src/misc/deps_linux/${{ matrix.base_system }}.sh' '--ensure-deps-noninteractive'
Expand Down
2 changes: 1 addition & 1 deletion misc/deps_linux/archlinux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if [[ "$1" == "--ensure-deps-noninteractive" ]]; then
set -x
PACMAN_ARGS="--noconfirm"
pacman -Syu $PACMAN_ARGS sudo
useradd -m skymp
useradd -m skymp -u $CREATE_UID -u $CREATE_GID
chown -R skymp:skymp /src

cat /etc/passwd
Expand Down

0 comments on commit 22387a8

Please sign in to comment.