Fix docker VCS stamping

added
 ```RUN git config --global --add safe.directory '/app'```
pull/3393/head
Hitesh Aringa 2023-09-25 20:00:58 -07:00 committed by Johannes Batzill
parent a8cb5dc8d2
commit b24b21742a
1 changed files with 3 additions and 1 deletions

View File

@ -26,6 +26,8 @@ RUN apk update \
# Setup workig dir
WORKDIR /app
RUN git config --global --add safe.directory '/app'
# Get dependancies - will also be cached if we won't change mod/sum
COPY go.mod .
COPY go.sum .