Skip to content

Commit 20454ad

Browse files
authored
Merge pull request #253 from crazy-max/fix-dockerfile
Dockerfile: fix vendor validation
2 parents ac5992b + 5674cae commit 20454ad

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ FROM scratch AS vendor-update
3838
COPY --from=vendored /out /
3939

4040
FROM vendored AS vendor-validate
41-
RUN --mount=type=bind,target=.,rw <<EOT
41+
RUN --mount=target=/context \
42+
--mount=target=.,type=tmpfs <<EOT
4243
set -e
4344
rsync -a /context/. .
4445
git add -A

0 commit comments

Comments
 (0)