Skip to content

Commit

Permalink
Fix golang.org/x/crypto part 1
Browse files Browse the repository at this point in the history
Signed-off-by: Jauder Ho <jauderho@users.noreply.github.com>
  • Loading branch information
jauderho committed Dec 15, 2024
1 parent d818fe0 commit 555f9aa
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions cloudflared/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ RUN test -n "${BUILD_VERSION}" \
&& tar xzf /tmp/cloudflared.tar.gz --strip 1 -C /go/src/github.com/cloudflare/cloudflared \
&& go get -u github.com/cloudflare/circl github.com/go-jose/go-jose/v3 github.com/quic-go/quic-go google.golang.org/protobuf \
&& go get -u github.com/coredns/coredns \
&& go get -u golang.org/x/crypto \
&& go mod tidy \
&& go mod vendor \
&& go build -o cloudflared -v -trimpath -ldflags="-s -w -X main.Version=${BUILD_VERSION}" ./cmd/cloudflared/ \
Expand Down
1 change: 1 addition & 0 deletions lego/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ RUN test -n "${BUILD_VERSION}" \
&& curl -L "${ARCHIVE_URL}${BUILD_VERSION}.tar.gz" -o /tmp/lego.tar.gz \
&& tar xzf /tmp/lego.tar.gz --strip 1 -C /go/src/github.com/go-acme/lego \
&& go get -u google.golang.org/grpc google.golang.org/protobuf \
&& go get -u golang.org/x/crypto \
&& go mod tidy \
&& make build \
&& strip /go/src/github.com/go-acme/lego/dist/lego \
Expand Down
1 change: 1 addition & 0 deletions rclone/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ RUN test -n "${BUILD_VERSION}" \
&& curl -L "${ARCHIVE_URL}${BUILD_VERSION}.tar.gz" -o /tmp/rclone.tar.gz \
&& tar xzf /tmp/rclone.tar.gz --strip 1 -C /go/src/github.com/rclone/rclone \
&& go get -u golang.org/x/net \
&& go get -u golang.org/x/crypto \
&& go mod tidy \
&& go build -o rclone -v -trimpath -ldflags="-s -w"

Expand Down
1 change: 1 addition & 0 deletions rdap/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ RUN test -n "${BUILD_VERSION}" \
&& apk add --no-cache git ca-certificates \
&& git clone --depth 1 ${GIT_URL} /go/src/github.com/openrdap/rdap \
&& cd /go/src/github.com/openrdap/rdap \
&& go get -u golang.org/x/crypto \
&& go get -u \
&& go build -o rdap -v -trimpath -ldflags="-s -w" ./cmd/rdap

Expand Down
1 change: 1 addition & 0 deletions subfinder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ RUN test -n "${BUILD_VERSION}" \
&& tar xzf /tmp/subfinder.tar.gz --strip 1 -C /go/src/github.com/projectdiscovery/subfinder \
&& cd v2 \
&& go get -u github.com/quic-go/quic-go \
&& go get -u golang.org/x/crypto \
&& go mod tidy \
&& go build -o subfinder -v -trimpath -ldflags="-s -w" cmd/subfinder/main.go

Expand Down
1 change: 1 addition & 0 deletions tailscale/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ RUN test -n "${BUILD_VERSION}" \
&& curl -L "${ARCHIVE_URL}${BUILD_VERSION}.tar.gz" -o /tmp/tailscale.tar.gz \
&& tar xzf /tmp/tailscale.tar.gz --strip 1 -C /go/src/github.com/tailscale/tailscale \
&& go get -u golang.org/x/net \
&& go get -u golang.org/x/crypto \
&& go mod tidy \
&& go build -v -trimpath -tags xversion,ts_include_cli -ldflags="-s -w -X tailscale.com/version.Short=${BUILD_VERSION}" tailscale.com/cmd/tailscaled

Expand Down
1 change: 1 addition & 0 deletions terraform/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ RUN test -n "${BUILD_VERSION}" \
&& tar xzf /tmp/terraform.tar.gz --strip 1 -C /go/src/github.com/hashicorp/terraform \
&& go get -u github.com/hashicorp/go-getter github.com/cloudflare/circl google.golang.org/protobuf golang.org/x/net \
&& go get -u go.opentelemetry.io/otel/sdk/trace \
&& go get -u golang.org/x/crypto \
&& go mod tidy \
&& go build -v -trimpath -ldflags="-s -w" \
&& cp terraform /go/bin/terraform \
Expand Down

0 comments on commit 555f9aa

Please sign in to comment.