Skip to content

Commit

Permalink
Update Dockerfile to use latest go install command
Browse files Browse the repository at this point in the history
```
 > [buildtools 2/3] RUN go get github.com/bazelbuild/buildtools/buildozer:
------
```

Fixes #206

Change-Id: Ic29ab5b44c20150b05e91dc858482db72d78cf9e
  • Loading branch information
ohaibbq authored and mikelalcon committed Sep 7, 2022
1 parent 7aa8b57 commit 9a0d2ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ RUN mkdir -p /tmp/copybara && \
cp bazel-bin/java/com/google/copybara/copybara_deploy.jar /tmp/copybara/

FROM golang:latest AS buildtools
RUN go get github.com/bazelbuild/buildtools/buildozer
RUN go get github.com/bazelbuild/buildtools/buildifier
RUN go install github.com/bazelbuild/buildtools/buildozer@latest
RUN go install github.com/bazelbuild/buildtools/buildifier@latest

FROM openjdk:11-jre-slim
WORKDIR /usr/src/app
Expand Down

0 comments on commit 9a0d2ad

Please sign in to comment.