Skip to content

Commit

Permalink
Update golang.org/x/crypto part 2
Browse files Browse the repository at this point in the history
Signed-off-by: Jauder Ho <[email protected]>
  • Loading branch information
jauderho committed Dec 15, 2024
1 parent 555f9aa commit f777a15
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions amass/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/amass.tar.gz \
&& tar xzf /tmp/amass.tar.gz --strip 1 -C /go/src/github.com/owasp/amass \
&& go get -u github.com/jackc/pgx/v5 google.golang.org/protobuf golang.org/x/net \
&& go get -u golang.org/x/crypto \
&& go mod tidy \
&& go build -v -trimpath -ldflags="-s -w" ./cmd/amass

Expand Down
1 change: 1 addition & 0 deletions dnscrypt-proxy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ RUN test -n "${BUILD_VERSION}" \
&& go mod download golang.org/x/sync \
&& go get -u golang.org/x/sys golang.org/x/tools \
&& go get -u google.golang.org/genproto \
&& go get -u golang.org/x/crypto \
&& go get -u ./... \
&& go mod tidy \
&& go mod vendor \
Expand Down
1 change: 1 addition & 0 deletions dnsx/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/dnsx.tar.gz \
&& tar xzf /tmp/dnsx.tar.gz --strip 1 -C /go/src/github.com/projectdiscovery/dnsx \
&& go get -u github.com/quic-go/quic-go \
&& go get -u golang.org/x/crypto \
&& go mod tidy \
&& go build -o dnsx -v -trimpath -ldflags="-s -w" cmd/dnsx/dnsx.go

Expand Down
1 change: 1 addition & 0 deletions dry/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ RUN test -n "${BUILD_VERSION}" \
&& go get -u github.com/docker/[email protected] github.com/docker/[email protected] \
#&& go get -u github.com/docker/distribution \
&& go get -u golang.org/x/net \
&& go get -u golang.org/x/crypto \
#&& go get -u all \
&& go build -o dry-bin -v -trimpath -ldflags="-s -w"

Expand Down
1 change: 1 addition & 0 deletions dsq/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ RUN test -n "${BUILD_VERSION}" \
&& cd /go/src/github.com/multiprocessio/dsq \
&& go get -u google.golang.org/protobuf golang.org/x/net \
&& go get -u github.com/snowflakedb/gosnowflake \
&& go get -u golang.org/x/crypto \
&& go mod tidy \
&& go build -v -trimpath -ldflags="-s -w"

Expand Down
1 change: 1 addition & 0 deletions fq/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ RUN test -n "${BUILD_VERSION}" \
&& update-ca-certificates \
&& curl -L "${ARCHIVE_URL}${BUILD_VERSION}.tar.gz" -o /tmp/fq.tar.gz \
&& tar xzf /tmp/fq.tar.gz --strip 1 -C /go/src/github.com/wader/fq \
&& go get -u golang.org/x/crypto \
&& go build -o fq -v -trimpath -ldflags="-s -w -X main.version=${BUILD_VERSION}" .

# Validation check
Expand Down
1 change: 1 addition & 0 deletions headscale/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/headscale.tar.gz \
&& tar xzf /tmp/headscale.tar.gz --strip 1 -C /go/src/github.com/juanfont/headscale \
&& go get -u github.com/jackc/pgx/v5 github.com/go-jose/go-jose/v3 google.golang.org/grpc google.golang.org/genproto google.golang.org/protobuf \
&& go get -u golang.org/x/crypto \
&& go mod tidy \
&& go build -o ./headscale -v -trimpath -ldflags="-s -w -X github.com/juanfont/headscale/cmd/headscale/cli.Version=${BUILD_VERSION}" ./cmd/headscale

Expand Down
1 change: 1 addition & 0 deletions httpx/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/httpx.tar.gz \
&& tar xzf /tmp/httpx.tar.gz --strip 1 -C /go/src/github.com/projectdiscovery/httpx \
&& go get -u github.com/quic-go/quic-go \
&& go get -u golang.org/x/crypto \
&& go mod tidy \
&& go build -o httpx -v -trimpath -ldflags="-s -w" cmd/httpx/httpx.go

Expand Down
1 change: 1 addition & 0 deletions netmaker/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/netmaker.tar.gz \
&& tar xzf /tmp/netmaker.tar.gz --strip 1 -C /go/src/github.com/gravitl/netmaker \
&& go get -u github.com/go-jose/go-jose/v3 golang.org/x/net \
&& go get -u golang.org/x/crypto \
&& go mod tidy \
&& CGO_CFLAGS="-D_LARGEFILE64_SOURCE" go build -o ./netmaker -v -trimpath -ldflags="-s -w -X main.version=${BUILD_VERSION}" .

Expand Down
2 changes: 2 additions & 0 deletions ntfy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ RUN test -n "${BUILD_VERSION}" \
&& mkdir server/site \
&& touch server/site/dummy \
&& go get -u golang.org/x/net \
&& go get -u golang.org/x/crypto \
&& go get -u github.com/golang-jwt/jwt/v4 \
&& go mod tidy \
&& CGO_CFLAGS="-D_LARGEFILE64_SOURCE" go build -o ntfy -v -trimpath -ldflags="-s -w -X main.version=${BUILD_VERSION}" .

Expand Down
1 change: 1 addition & 0 deletions opentofu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ RUN test -n "${BUILD_VERSION}" \
&& cd /go/src/github.com/opentofu/opentofu \
&& 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 generate ./... \
&& go run ./tools/protobuf-compile . \
Expand Down

0 comments on commit f777a15

Please sign in to comment.