add git 2/2

This commit is contained in:
Zoey 2023-02-23 09:08:23 +01:00 committed by GitHub
parent a09afd07be
commit 4b9cf6126d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,7 @@ ARG TARGETOS
WORKDIR /workdir
COPY . .
RUN apk add --no-cache bash build-base protobuf && \
RUN apk add --no-cache bash git build-base protobuf && \
if [ -d "vendor" ]; then GOOS=${TARGETOS} GOARCH=${TARGETARCH} GOPROXY=off make server -j$(nproc); else \
GOOS=${TARGETOS} GOARCH=${TARGETARCH} make server -j$(nproc); fi