add some build scripts
This commit is contained in:
parent
d5d56a0a0d
commit
005e03aef9
|
@ -4,7 +4,8 @@ FROM golang:1.21-alpine3.18 AS builder
|
|||
COPY . /src
|
||||
WORKDIR /src
|
||||
|
||||
RUN apk add make \
|
||||
RUN sed -i 's#https://dl-cdn.alpinelinux.org/alpine/v3.18#https://mirrors.tuna.tsinghua.edu.cn/alpine/v3.18#g' /etc/apk/repositories \
|
||||
&& apk add make \
|
||||
&& export GOPROXY=https://goproxy.cn,direct \
|
||||
&& export GO111MODULE=on \
|
||||
&& make build \
|
||||
|
|
Loading…
Reference in New Issue