Skip to content

Commit

Permalink
fix: update gofmt path in pre-commit docker image (#5376)
Browse files Browse the repository at this point in the history
  • Loading branch information
wcalandro committed Sep 13, 2022
1 parent 2b64f9f commit 837db59
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kythe/release/cloudbuild/pre-commit/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ RUN update-alternatives \
# Make go-1.18 the default
RUN update-alternatives \
--install /usr/bin/go go /usr/lib/go-1.18/bin/go 100
RUN update-alternatives \
--install /usr/bin/gofmt gofmt /usr/lib/go-1.18/bin/gofmt 100

# Install pip-packages
RUN pip3 install --upgrade pip \
Expand Down

0 comments on commit 837db59

Please sign in to comment.