Update Dockerfile

This commit is contained in:
gigirassy
2025-11-18 01:29:09 +01:00
parent 447aab51aa
commit 0cc9a22dc8
+1 -1
View File
@@ -7,7 +7,7 @@ ARG TARGETVARIANT
WORKDIR /src WORKDIR /src
# cache go mod download between builds (requires BuildKit) # cache go mod download between builds (requires BuildKit)
COPY go.mod go.sum ./ COPY go.mod ./
RUN apk add --no-cache ca-certificates git RUN apk add --no-cache ca-certificates git
RUN --mount=type=cache,target=/root/.cache/go-build \ RUN --mount=type=cache,target=/root/.cache/go-build \
--mount=type=cache,target=/go/pkg/mod \ --mount=type=cache,target=/go/pkg/mod \