@@ -10,7 +10,7 @@ RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositorie
...
@@ -10,7 +10,7 @@ RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositorie
COPY go.mod go.sum ./
COPY go.mod go.sum ./
RUN go mod download
RUN go mod download
COPY . .
COPY . .
RUN cd cmd && go build koko.go
RUN cd cmd && go build -ldflags"-X 'main.Buildstamp=`date-u'+%Y-%m-%d %I:%M:%S%p'`' -X 'main.Githash=`git rev-parse HEAD`' -X 'main.Goversion=`go version`'"-x-o koko koko.go