Update 'Dockerfile'
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Danny Bessems 2023-10-31 13:50:59 +00:00
parent e165d3b2cd
commit 85e3359831

View File

@ -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 \