diff --git a/Dockerfile b/Dockerfile index b9f15a63a..86eb4c2de 100644 --- a/Dockerfile +++ b/Dockerfile @@ -246,7 +246,7 @@ ARG boot_type # Install our bootc package (only needed for the compute-composefs-digest command) RUN --network=none --mount=type=tmpfs,target=/run --mount=type=tmpfs,target=/tmp \ --mount=type=bind,from=packages,src=/,target=/run/packages \ - rpm -Uvh --oldpackage --nosignature /run/packages/bootc-*.rpm + rpm -Uvh --oldpackage --replacepkgs --nosignature /run/packages/bootc-*.rpm RUN --network=none --mount=type=tmpfs,target=/run --mount=type=tmpfs,target=/tmp \ --mount=type=secret,id=secureboot_key \ --mount=type=secret,id=secureboot_cert \