Skip to content

Commit

Permalink
Remove source from RUN cache mount
Browse files Browse the repository at this point in the history
  • Loading branch information
berney committed Feb 7, 2025
1 parent 8135761 commit 2332be5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions builder/bob/Dockerfile.berney
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ COPY --link root /
#RUN <<-EOF
#RUN --mount=type=bind,target=/distfiles,from=distfiles,rw --mount=type=bind,target=/packages,from=packages,rw <<-EOF
#RUN --mount=type=cache,target=/distfiles,from=distfiles --mount=type=cache,target=/packages,from=packages <<-EOF
RUN --mount=type=cache,from=distfiles,source=/distfiles,target=/distfiles \
--mount=type=cache,from=packages,source=/packages,target=/packages <<-EOF
RUN --mount=type=cache,from=distfiles,target=/distfiles \
--mount=type=cache,from=packages,target=/packages <<-EOF
die() {
exit_code="${2:-1}"
echo -e 'fatal:' "$1" >&2
Expand Down

0 comments on commit 2332be5

Please sign in to comment.