Merge pull request #6 from tonistiigi/fix-validate-yarn

dockerfile: fix validate-yarn target
This commit is contained in:
CrazyMax 2020-08-27 03:51:10 +02:00 committed by GitHub
commit 0cb01eddd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,7 @@ FROM scratch AS update-yarn
COPY --from=deps /src/yarn.lock /
FROM deps AS validate-yarn
COPY .git .git
RUN status=$(git status --porcelain -- yarn.lock); if [ -n "$status" ]; then echo $status; exit 1; fi
FROM deps AS base