Skip to content

Commit e5415ca

Browse files
committed
Try remove custom user
1 parent c5312da commit e5415ca

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,6 @@ jobs:
186186
--name unreal \
187187
--volume ${{ github.workspace }}:/workspace \
188188
--workdir /workspace \
189-
--user $uid:$gid \
190-
--env HOME="/home/$user" \
191-
--env PATH="/home/$user/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" \
192189
--network ip6net -p 80:80 \
193190
ghcr.io/epicgames/unreal-engine:dev-slim-${{ matrix.unreal }}.1
194191
docker logout ghcr.io
@@ -197,15 +194,6 @@ jobs:
197194
mkdir -p /etc/pki/tls/certs ;
198195
cp /etc/ssl/certs/ca-certificates.crt /etc/pki/tls/certs/ca-bundle.crt "
199196
200-
# Chown some paths to the GH user to make UE5 work properly. We can't just chown the whole UnrealEngine or
201-
# docker would implicitly have to copy it to the container and we would run out of space on the GH runner.
202-
- name: Chown Docker container paths
203-
run: |
204-
uid=$(id -u) # the GH action user ID
205-
docker exec --user root unreal bash -c "
206-
chown -R $uid /home/ue4/UnrealEngine/Engine/Binaries/ThirdParty/Mono/Linux ;
207-
chown -R $uid /home/ue4/UnrealEngine/Engine/${{ matrix.unreal == '4.27' && 'Programs/UnrealPak/Saved' || 'Binaries/ThirdParty/DotNet' }} "
208-
209197
- name: Setup C++ runtime
210198
run: docker exec --user root unreal bash -c '
211199
apt-get update ;

0 commit comments

Comments
 (0)