mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-01 12:44: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
|
ENV CGO_ENABLED=0
|
||||||
|
|
||||||
RUN set -x \
|
RUN --mount=type=cache,target=/var/cache/apk \
|
||||||
&& apk --no-cache --update add \
|
set -x \
|
||||||
bash \
|
&& apk --update add \
|
||||||
ca-certificates \
|
bash \
|
||||||
git
|
ca-certificates \
|
||||||
|
git
|
||||||
|
|
||||||
COPY go.mod go.sum /app/
|
COPY go.mod go.sum /app/
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|||||||
Reference in New Issue
Block a user