modify: dockerfile
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
FROM golang:1.24.0-alpine AS builder
|
FROM golang:1.24 AS builder
|
||||||
|
|
||||||
LABEL stage=gobuilder
|
LABEL stage=gobuilder
|
||||||
|
|
||||||
@@ -6,7 +6,7 @@ ENV CGO_ENABLED=0
|
|||||||
ENV GOPROXY=https://goproxy.cn,direct
|
ENV GOPROXY=https://goproxy.cn,direct
|
||||||
#RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
#RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
||||||
|
|
||||||
RUN apk update --no-cache && apk add --no-cache tzdata
|
#RUN apk update --no-cache && apk add --no-cache tzdata
|
||||||
|
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user