Skip to content

Commit

Permalink
pip-compile: set the SELinux context
Browse files Browse the repository at this point in the history
Ensure we set the SELinux label `container_file_t` on the shared volume.

See: https://docs.podman.io/en/latest/markdown/podman-run.1.html
Similar to what was done with 35e4fbc.
  • Loading branch information
goneri committed Jul 10, 2024
1 parent c6bf2fd commit f0c8e0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/docker-compose/pip-compile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
image: registry.access.redhat.com/ubi9/ubi:latest
working_dir: /var/www/wisdom
volumes:
- $PWD:/var/www/wisdom
- $PWD:/var/www/wisdom:Z
command:
- /var/www/wisdom/tools/scripts/pip-compile.sh

Expand All @@ -14,6 +14,6 @@ services:
image: registry.access.redhat.com/ubi9/ubi:latest
working_dir: /var/www/wisdom
volumes:
- $PWD:/var/www/wisdom
- $PWD:/var/www/wisdom:Z
command:
- /var/www/wisdom/tools/scripts/pip-compile.sh

0 comments on commit f0c8e0a

Please sign in to comment.