Skip to content

Commit

Permalink
Git config add to docker local
Browse files Browse the repository at this point in the history
  • Loading branch information
jakeandandrews committed Jan 13, 2025
1 parent ae0acde commit 8f96582
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile.local
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ FROM golang:1.23.4-bullseye AS base
ENV GOCACHE=/go/.go/cache GOPATH=/go/.go/path TZ=Europe/London

RUN GOBIN=/bin go install github.com/cespare/reflex@latest
RUN git config --global --add safe.directory /go

# Clean cache, as we want all modules in the container to be under /go/.go/path
RUN go clean -modcache
Expand Down

0 comments on commit 8f96582

Please sign in to comment.