Skip to content

Commit

Permalink
Update driftctl
Browse files Browse the repository at this point in the history
Signed-off-by: Jauder Ho <[email protected]>
  • Loading branch information
jauderho committed Dec 17, 2024
1 parent a1892dc commit cbe760b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions driftctl/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ RUN test -n "${BUILD_VERSION}" \
#&& tar xzf /tmp/driftctl.tar.gz --strip 1 -C /go/src/github.com/snyk/driftctl \
&& git clone --depth 1 ${GIT_URL} /go/src/github.com/snyk/driftctl \
&& cd /go/src/github.com/snyk/driftctl \
&& go get -u github.com/hashicorp/go-getter github.com/dgrijalva/jwt-go golang.org/x/net golang.org/x/crypto \
&& go mod tidy \
#&& go get -u github.com/hashicorp/go-getter github.com/dgrijalva/jwt-go golang.org/x/net golang.org/x/crypto \
&& go get -u golang.org/x/crypto \
#&& go mod tidy \
&& go build -v -trimpath -ldflags="-s -w -X github.com/snyk/driftctl/pkg/version.version=${BUILD_VERSION}" .

WORKDIR /config
Expand Down

0 comments on commit cbe760b

Please sign in to comment.