Skip to content

Commit

Permalink
Workaround github container build error
Browse files Browse the repository at this point in the history
The github action building the fedora container with podman is hitting
an error that looks like:

error running container: error from /usr/bin/crun creating container for
[...]: sd-bus call: Transport endpoint is not connected

This requires a workaround to set XDG_RUNTIME_DIR to empty.
  • Loading branch information
spoore1 committed Jul 11, 2024
1 parent 661833d commit 6a231ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/intg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Build the Docker image
run: sudo podman build . --file Dockerfile.fedora --tag ${IMAGE}
run: sudo -E XDG_RUNTIME_DIR= podman build . --file Dockerfile.fedora --tag ${IMAGE}
- name: Run the container
run: sudo podman run --privileged --security-opt seccomp=unconfined --detach -p 80:80 --name=${CONTAINER} ${IMAGE}
- name: Check the container is up
Expand Down

0 comments on commit 6a231ad

Please sign in to comment.