We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6faf6c5 commit 4524311Copy full SHA for 4524311
cmd/buckd/Dockerfile.dev
@@ -12,7 +12,7 @@ RUN cd $SRC_DIR \
12
13
COPY . $SRC_DIR
14
15
-RUN cd $SRC_DIR \
+RUN --mount=type=cache,target=/root/.cache/go-build cd $SRC_DIR \
16
&& CGO_ENABLED=0 GOOS=linux go build -gcflags "all=-N -l" -o buckd cmd/buckd/main.go
17
18
FROM debian:buster
0 commit comments