Skip to content

Commit cde53a2

Browse files
committed
Dockerfile: Fix incremental compilation
I broke this a while ago. Signed-off-by: Colin Walters <[email protected]>
1 parent 2cb69c1 commit cde53a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ COPY --from=src /src /src
6363
WORKDIR /src
6464
# See https://www.reddit.com/r/rust/comments/126xeyx/exploring_the_problem_of_faster_cargo_docker/
6565
# We aren't using the full recommendations there, just the simple bits.
66-
RUN --mount=type=cache,target=/build/target --mount=type=cache,target=/var/roothome <<EORUN
66+
RUN --mount=type=cache,target=/src/target --mount=type=cache,target=/var/roothome <<EORUN
6767
set -xeuo pipefail
6868
make
6969
make install-all DESTDIR=/out

0 commit comments

Comments
 (0)