Skip to content

Commit

Permalink
Merge pull request #2175 from lcarva/selinux-update-rpms
Browse files Browse the repository at this point in the history
update-rpm-lock: use volumes instead of mounts
  • Loading branch information
lcarva authored Nov 20, 2024
2 parents eceee3c + 551a6fc commit 7ef95d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hack/update-rpm-lock.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ fi
echo Running RPM lock tooling...
podman run \
--rm \
--mount type=bind,source="${root_dir}/Dockerfile.dist",destination=/opt/app-root/src/Dockerfile \
--mount type=bind,source="${root_dir}/rpms.in.yaml",destination=/opt/app-root/src/rpms.in.yaml \
--mount type=bind,source="${root_dir}/rpms.lock.yaml",destination=/opt/app-root/src/rpms.lock.yaml \
--volume "${root_dir}/Dockerfile.dist:/opt/app-root/src/Dockerfile:Z" \
--volume "${root_dir}/rpms.in.yaml:/opt/app-root/src/rpms.in.yaml:Z" \
--volume "${root_dir}/rpms.lock.yaml:/opt/app-root/src/rpms.lock.yaml:Z" \
"${image}" \
bash -c "${script}"

Expand Down

0 comments on commit 7ef95d9

Please sign in to comment.