mirror of https://github.com/docker/docs.git
dockerfile: make release the default target
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
parent
8bdf1919e8
commit
6b9e33044c
|
|
@ -94,10 +94,6 @@ RUN --mount=type=bind,src=pagefind.yml,target=pagefind.yml \
|
|||
FROM scratch AS index
|
||||
COPY --from=pagefind /pagefind .
|
||||
|
||||
FROM scratch AS release
|
||||
COPY --from=build /out /
|
||||
COPY --from=pagefind /pagefind /pagefind
|
||||
|
||||
FROM alpine:${ALPINE_VERSION} AS test-go-redirects
|
||||
WORKDIR /work
|
||||
RUN apk add yq
|
||||
|
|
@ -106,3 +102,7 @@ RUN --mount=type=bind,target=. <<"EOT"
|
|||
set -ex
|
||||
./scripts/test_go_redirects.sh
|
||||
EOT
|
||||
|
||||
FROM scratch AS release
|
||||
COPY --from=build /out /
|
||||
COPY --from=pagefind /pagefind /pagefind
|
||||
|
|
|
|||
Loading…
Reference in New Issue