mirror of
https://github.com/docker/docs.git
synced 2026-03-27 06:18:55 +07:00
dockerfile: make release the default target
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user