diff --git a/Containerfile b/Containerfile index ed14f01..049389a 100644 --- a/Containerfile +++ b/Containerfile @@ -39,15 +39,29 @@ COPY . /src WORKDIR /src RUN rm -vf /src/*.repo COPY --from=repos /etc/yum.repos.d/*.repo /src + +# Construct the base rootfs RUN --mount=type=cache,target=/workdir \ - --mount=type=bind,rw=true,src=.,dst=/buildcontext,bind-propagation=shared \ --mount=type=bind,from=repos,src=/,dst=/repos <