Skip to content

Commit

Permalink
Update Dockerfile.dive
Browse files Browse the repository at this point in the history
  • Loading branch information
nmaguiar authored Aug 20, 2024
1 parent 8ce519a commit cab4116
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile.dive
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ FROM golang:alpine as dive

RUN apk update\
&& apk add git make bash ncurses curl\
&& cd /go/src\
#&& cd /go/src\
#&& git clone https://github.com/wagoodman/dive.git\
&& git clone https://github.com/nmaguiar/dive.git\
&& cd dive\
&& git checkout v0.12.0\
&& make snapshot\
&& make bootstrap\
#&& mkdir .tmp\
#&& go install github.com/goreleaser/goreleaser@latest\
#&& ln -s /go/bin/goreleaser .tmp/goreleaser\
#&& curl https://ojob.io/getStatic.sh | sh\
#&& ./oaf -c "var o=io.readFileYAML('.goreleaser.yaml');delete o.dockers;o.builds[0].goos=['linux'];io.writeFileYAML('.goreleaser.yaml',o)"\
&& curl https://ojob.io/getStatic.sh | sh\
&& ./oaf -c "var o=io.readFileYAML('.goreleaser.yaml');delete o.dockers;o.builds[0].goos=['linux'];io.writeFileYAML('.goreleaser.yaml',o)"\
&& make build\
&& cp snapshot/dive_linux_arm64/dive /dive_linux_arm64\
&& cp snapshot/dive_linux_amd64_v1/dive /dive_linux_amd64
Expand Down

0 comments on commit cab4116

Please sign in to comment.