Add note about buildKit in the DockerFile
This commit is contained in:
parent
6f11aa75b6
commit
ece4a2b722
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +10,7 @@ COPY go.sum .
|
|||
RUN go mod download
|
||||
|
||||
COPY . .
|
||||
# the --mount option requires BuildKit. Refer to https://docs.docker.com/go/buildkit/ to learn how to build images with BuildKit enabled
|
||||
RUN --mount=type=cache,target=/root/.cache/go-build \
|
||||
go build -o ente-cli main.go
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue