add git
This commit is contained in:
parent
eeebd4c25c
commit
edd02366ca
@ -4,6 +4,7 @@ ARG TARGETARCH
|
|||||||
ARG version=not-set
|
ARG version=not-set
|
||||||
ARG SHORTSHA=not-set
|
ARG SHORTSHA=not-set
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
RUN apk update && apk add git
|
||||||
COPY . .
|
COPY . .
|
||||||
# https://stackoverflow.com/questions/70369368/check-architecture-in-dockerfile-to-get-amd-arm
|
# https://stackoverflow.com/questions/70369368/check-architecture-in-dockerfile-to-get-amd-arm
|
||||||
RUN go build -o bin/us-dop-api \
|
RUN go build -o bin/us-dop-api \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user