Docker ドキュメント 全文検索
Results of 1 - 2 of about 2 for counter (0.001 sec.)
- マルチステージ ビルドを使う — Docker-docs-ja 24.0 ドキュメント 11228
- マルチステージ ビルドを使う マルチステージ ビルドを使う 目次 :ruby:`マルチステージ ビルド <multi-stage build>` とは、Dockerfile の読みやすさやメンテナンスのしやすさを維持するよう、最適化に悩まされている全ての人に役立ちます。 マルチステージ
...遵守した例です。 Dockerfile.build : # syntax=docker/dockerfile:1 FROM golang:1.16 WORKDIR /go/src/github.com/alexellis/href-counter/ COPY app.go ./ RUN go get -d -v golang.org/x/net/html \ && CGO_ENABLED = 0 GOOS = linux go build -a -installsuffix cgo -o...no-cache add ca-certificates WORKDIR /root/ COPY app ./ CMD [ "./app" ] build.sh : #!/bin/sh echo Building alexellis2/href-counter:build docker build --build-arg https_proxy = $https_proxy --build-arg http_proxy = $http_proxy \ -t alexellis2/href-counte...r:build . -f Dockerfile.build docker container create --name extract alexellis2/href-counter:build docker container cp extract:/go/src/github.com/alexellis/href-counter/app ./app docker container rm -f extract echo... - https://man.mtool.work/docker/24.0/build/building/multi-stage.html
- マルチステージビルドの利用 — Docker-docs-ja 24.0 ドキュメント 7485
- Docker Engine ユーザガイド イメージの動作 マルチステージビルドの利用 マルチステージビルドの利用 目次 マルチステージビルドは、Docker 17.05 またはそれ以上の Docker デーモンおよび Docker クライアントにおける新機能です。 マルチステージビルドは
...、上述の開発パターンにこだわったやり方です。 Dockerfile.build : FROM golang:1.7.3 WORKDIR /go/src/github.com/alexellis/href-counter/ RUN go get -d -v golang.org/x/net/html COPY app.go . RUN go get -d -v golang.org/x/net/html \ && CGO_ENABLED = 0 GOOS = l...-no-cache add ca-certificates WORKDIR /root/ COPY app . CMD [ "./app" ] build.sh : #!/bin/sh echo Building alexellis2/href-counter:build docker build --build-arg https_proxy = $https_proxy --build-arg http_proxy = $http_proxy \ -t alexellis2/href-counte...r:build . -f Dockerfile.build docker create --name extract alexellis2/href-counter:build docker cp extract:/go/src/github.com/alexellis/href-counter/app ./app docker rm -f extract echo Building alexellis2/... - https://man.mtool.work/docker/24.0/engine/userguide/eng-image/multistage-build.h...
PREV
1
NEXT