Skip to content

Commit

Permalink
ci(github): Make host users and groups available in the container
Browse files Browse the repository at this point in the history
This fixes proper Gradle caching of builds in the Docker container, i.e.
the Gradle wrapper is not downloaded again. This is a fixup for 69bdfd9.

Signed-off-by: Sebastian Schuberth <[email protected]>
  • Loading branch information
sschuberth committed Apr 29, 2024
1 parent bd76214 commit 28c4178
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@ jobs:
# Run the functional tests in the Docker container.
docker run \
-u $(id -u):$(id -g) \
-v /etc/group:/etc/group:ro \
-v /etc/passwd:/etc/passwd:ro \
-v /home/runner:/home/runner \
-v ${{ github.workspace }}:/workspace \
-w /workspace \
Expand Down

0 comments on commit 28c4178

Please sign in to comment.