Resolve dubious ownership issue in latest git
@@ -6,9 +6,10 @@ RUN if [[ $(uname -m | grep -E '^arm|^aarch' | wc -l) == 1 ]]; then apk add binu
ENV GO111MODULE on
ARG GOLOOP_GOMOD_SHA
-#ENV GOLOOP_GOMOD_SHA ${GOLOOP_GOMOD_SHA}
LABEL GOLOOP_GOMOD_SHA="$GOLOOP_GOMOD_SHA"
ADD go.mod go.sum /goloop/
WORKDIR /goloop
+RUN git config --global --add safe.directory /work
+
RUN echo "go mod download $GOLOOP_GOMOD_SHA" && go mod download
