Commit dfb49855 authored by Mark Tyneway's avatar Mark Tyneway Committed by GitHub

ci-builder: add yq (#10033)

* ci-builder: add yq

Adds `yq` to `ci-builder` so that we can read the yaml information
inside of the superchain registry.

`yq` is `jq` but for yaml, see https://github.com/mikefarah/yq

* hardcode yq version
Co-authored-by: default avatarJoshua Gutow <jgutow@oplabs.co>

* hardcode gotestsum version
Co-authored-by: default avatarJoshua Gutow <jgutow@oplabs.co>

---------
Co-authored-by: default avatarJoshua Gutow <jgutow@oplabs.co>
parent 3c34770c
...@@ -55,16 +55,18 @@ COPY ./versions.json ./versions.json ...@@ -55,16 +55,18 @@ COPY ./versions.json ./versions.json
RUN go install github.com/ethereum/go-ethereum/cmd/abigen@$(jq -r .abigen < versions.json) RUN go install github.com/ethereum/go-ethereum/cmd/abigen@$(jq -r .abigen < versions.json)
RUN go install github.com/ethereum/go-ethereum/cmd/geth@$(jq -r .geth < versions.json) RUN go install github.com/ethereum/go-ethereum/cmd/geth@$(jq -r .geth < versions.json)
RUN go install gotest.tools/gotestsum@latest RUN go install gotest.tools/gotestsum@v1.11.0
RUN go install github.com/vektra/mockery/v2@v2.28.1 RUN go install github.com/vektra/mockery/v2@v2.28.1
RUN go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.54.2 RUN go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.54.2
RUN go install github.com/mikefarah/yq/v4@v4.43.1
# Strip binaries to reduce size # Strip binaries to reduce size
RUN strip /go/bin/gotestsum && \ RUN strip /go/bin/gotestsum && \
strip /go/bin/mockery && \ strip /go/bin/mockery && \
strip /go/bin/golangci-lint && \ strip /go/bin/golangci-lint && \
strip /go/bin/abigen && \ strip /go/bin/abigen && \
strip /go/bin/geth strip /go/bin/geth && \
strip /go/bin/yq
FROM --platform=linux/amd64 debian:bullseye-slim as base-builder FROM --platform=linux/amd64 debian:bullseye-slim as base-builder
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment