mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 14:24:01 +03:00
Add cache mount for apk downloads
This commit is contained in:
+6
-5
@@ -5,11 +5,12 @@ FROM golang:1.26-alpine AS build
|
||||
|
||||
ENV CGO_ENABLED=0
|
||||
|
||||
RUN set -x \
|
||||
&& apk --no-cache --update add \
|
||||
bash \
|
||||
ca-certificates \
|
||||
git
|
||||
RUN --mount=type=cache,target=/var/cache/apk \
|
||||
set -x \
|
||||
&& apk --update add \
|
||||
bash \
|
||||
ca-certificates \
|
||||
git
|
||||
|
||||
COPY go.mod go.sum /app/
|
||||
WORKDIR /app
|
||||
|
||||
Reference in New Issue
Block a user