This commit is contained in:
parent
e165d3b2cd
commit
85e3359831
@ -21,6 +21,8 @@ ARG TARGETARCH
|
||||
# Build the statically linked (CGO_ENABLED=0) binary.
|
||||
# Mount source, build cache, and module cache for performance reasons.
|
||||
# See https://www.docker.com/blog/faster-multi-platform-builds-dockerfile-cross-compilation-guide/
|
||||
RUN ls -lash
|
||||
|
||||
RUN \
|
||||
--mount=target=. \
|
||||
--mount=type=cache,target=/cache/gocache \
|
||||
|
Loading…
Reference in New Issue
Block a user