Docker ドキュメント 全文検索
Results of 1 - 2 of about 2 for installsuffix (0.001 sec.)
- マルチステージビルドの利用 11228
- マルチステージビルドの利用 目次 マルチステージビルドは、Docker 17.05 またはそれ以上の Docker デーモンおよび Docker クライアントにおける新機能です。 マルチステージビルドは、Dockerfile を読みやすく保守しやすくするように、最適化に取り組むユーザ
...golang.org/x/net/html COPY app.go . RUN go get -d -v golang.org/x/net/html \ && CGO_ENABLED = 0 GOOS = linux go build -a -installsuffix cgo -o app . 上の例を見てわかるように、本来 2 つある RUN コマンドを Bash の && オペレーターによって連結しています。 これを...alexellis/href-counter/ RUN go get -d -v golang.org/x/net/html COPY app.go . RUN CGO_ENABLED = 0 GOOS = linux go build -a -installsuffix cgo -o app . FROM alpine:latest RUN apk --no-cache add ca-certificates WORKDIR /root/ COPY --from = 0 /go/src/github.com/a...alexellis/href-counter/ RUN go get -d -v golang.org/x/net/html COPY app.go . RUN CGO_ENABLED = 0 GOOS = linux go build -a -installsuffix cgo -o app . FROM alpine:latest RUN apk --no-cache add ca-certificates WORKDIR /root/ COPY --from = builder /go/src/github... - https://man.mtool.work/docker/24.0/engine/userguide/eng-image/multistage-build.h...
- マルチステージ ビルドを使う 7485
- マルチステージ ビルドを使う 目次 :ruby:`マルチステージ ビルド <multi-stage build>` とは、Dockerfile の読みやすさやメンテナンスのしやすさを維持するよう、最適化に悩まされている全ての人に役立ちます。 マルチステージ ビルドが出る以前 イメージ構築
...exellis/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 app . また、この例では2つの RUN コマンドを Bash の && 演算子を使い1行にまとめ、イメージ中に追加レイヤーが増えないの...lexellis/href-counter/ RUN go get -d -v golang.org/x/net/html COPY app.go ./ RUN CGO_ENABLED = 0 GOOS = linux go build -a -installsuffix cgo -o app . FROM alpine:latest RUN apk --no-cache add ca-certificates WORKDIR /root/ COPY --from = 0 /go/src/github.com/a...lexellis/href-counter/ RUN go get -d -v golang.org/x/net/html COPY app.go ./ RUN CGO_ENABLED = 0 GOOS = linux go build -a -installsuffix cgo -o app . FROM alpine:latest RUN apk --no-cache add ca-certificates WORKDIR /root/ COPY --from = builder /go/src/github... - https://man.mtool.work/docker/24.0/build/building/multi-stage.html
PREV
1
NEXT