ADD git
This commit is contained in:
parent
6f907ca9ec
commit
35d30336d8
@ -5,6 +5,7 @@ ARG version=not-set
|
||||
ARG SHORTSHA=not-set
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN apk --no-cache add git
|
||||
# https://stackoverflow.com/questions/70369368/check-architecture-in-dockerfile-to-get-amd-arm
|
||||
RUN go build -o bin/us-dop-bot \
|
||||
-ldflags "-X main.Shortsha=${SHORTSHA} \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user