mirror of https://github.com/harness/drone.git
Fix docker VCS stamping
added ```RUN git config --global --add safe.directory '/app'```pull/3393/head
parent
a8cb5dc8d2
commit
b24b21742a
|
@ -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 .
|
||||
|
@ -78,4 +80,4 @@ COPY --from=cert-image /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-cert
|
|||
EXPOSE 3000
|
||||
EXPOSE 3001
|
||||
|
||||
ENTRYPOINT [ "/app/gitness", "server" ]
|
||||
ENTRYPOINT [ "/app/gitness", "server" ]
|
||||
|
|
Loading…
Reference in New Issue