diff --git a/amass/Dockerfile b/amass/Dockerfile index 5df434a9aefc..2ecad2062886 100644 --- a/amass/Dockerfile +++ b/amass/Dockerfile @@ -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 diff --git a/dnscrypt-proxy/Dockerfile b/dnscrypt-proxy/Dockerfile index 6fa72ab58b22..9c21b1dc4744 100644 --- a/dnscrypt-proxy/Dockerfile +++ b/dnscrypt-proxy/Dockerfile @@ -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 \ diff --git a/dnsx/Dockerfile b/dnsx/Dockerfile index 0d0ab60d389b..f9936d68779a 100644 --- a/dnsx/Dockerfile +++ b/dnsx/Dockerfile @@ -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 diff --git a/dry/Dockerfile b/dry/Dockerfile index bb415fecedbc..726720788cbb 100644 --- a/dry/Dockerfile +++ b/dry/Dockerfile @@ -18,6 +18,7 @@ RUN test -n "${BUILD_VERSION}" \ && go get -u github.com/docker/docker@v25.0.6 github.com/docker/cli@v25.0.6 \ #&& 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" diff --git a/dsq/Dockerfile b/dsq/Dockerfile index df16c551552a..750bc71c4b53 100644 --- a/dsq/Dockerfile +++ b/dsq/Dockerfile @@ -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" diff --git a/fq/Dockerfile b/fq/Dockerfile index d0326c0c2c7b..0625ef61daef 100644 --- a/fq/Dockerfile +++ b/fq/Dockerfile @@ -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 diff --git a/headscale/Dockerfile b/headscale/Dockerfile index 0846fbe1901b..d5e3615bafbe 100644 --- a/headscale/Dockerfile +++ b/headscale/Dockerfile @@ -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 diff --git a/httpx/Dockerfile b/httpx/Dockerfile index f818556a4351..a73c7bd10c40 100644 --- a/httpx/Dockerfile +++ b/httpx/Dockerfile @@ -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 diff --git a/netmaker/Dockerfile b/netmaker/Dockerfile index 7b51738c1d0d..981e1bcd053e 100644 --- a/netmaker/Dockerfile +++ b/netmaker/Dockerfile @@ -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}" . diff --git a/ntfy/Dockerfile b/ntfy/Dockerfile index a6b5b103b118..c949fffb5afe 100644 --- a/ntfy/Dockerfile +++ b/ntfy/Dockerfile @@ -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}" . diff --git a/opentofu/Dockerfile b/opentofu/Dockerfile index 3b420c7a7f5b..9d6f40d6728f 100644 --- a/opentofu/Dockerfile +++ b/opentofu/Dockerfile @@ -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 . \