FROM golang:${{ github.event.inputs.tag }}-alpine AS builder
LABEL stage=gobuilder
ENV CGO_ENABLED=0 GOOS=linux GOPROXY=https://goproxy.cn,direct
RUN echo http://mirrors.aliyun.com/alpine/v3.10/main/ > /etc/apk/repositories && \
echo http://mirrors.aliyun.com/alpine/v3.10/community/ >> /etc/apk/repositories && \
apk update --no-cache && \
apk add --no-cache git upx
Content type
Image
Digest
sha256:c28f32bb1…
Size
73.2 MB
Last updated
4 months ago
docker pull basefly/golang:1.26.1-alpine