サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
パリ五輪
petomalina.medium.com
The build time of Golang Docker images always frustrated me as there was always a need to do the go get ./... before we started building the binary. This resulted in fetching the dependencies every time we wanted to build the image. The Dockerfile then looked like this: FROM golang:alpine AS build-envCOPY . $GOPATH/src/mypackage/myapp/ WORKDIR $GOPATH/src/mypackage/myapp/# go get and build <-- THI
このページを最初にブックマークしてみませんか?
『petomalina.medium.com』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く