From dc14fa085a06acb417411c1be09b52846593fabd Mon Sep 17 00:00:00 2001 From: Sebastien Baizet Date: Fri, 12 Jul 2024 10:31:31 +0200 Subject: [PATCH] add ca-certificates to gas-oracle and rollup-relayer --- build/dockerfiles/gas_oracle.Dockerfile | 2 ++ build/dockerfiles/intermediate/go-rust-builder.Dockerfile | 2 +- build/dockerfiles/rollup_relayer.Dockerfile | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/build/dockerfiles/gas_oracle.Dockerfile b/build/dockerfiles/gas_oracle.Dockerfile index b5934b8157..f1bbb026f6 100644 --- a/build/dockerfiles/gas_oracle.Dockerfile +++ b/build/dockerfiles/gas_oracle.Dockerfile @@ -14,6 +14,8 @@ RUN go mod download -x # Build gas_oracle FROM base as builder +RUN apt-get install ca-certificates -y + RUN --mount=target=. \ --mount=type=cache,target=/root/.cache/go-build \ cd /src/rollup/cmd/gas_oracle/ && CGO_LDFLAGS="-ldl" go build -v -p 4 -o /bin/gas_oracle diff --git a/build/dockerfiles/intermediate/go-rust-builder.Dockerfile b/build/dockerfiles/intermediate/go-rust-builder.Dockerfile index d62632cb2d..626923fa02 100644 --- a/build/dockerfiles/intermediate/go-rust-builder.Dockerfile +++ b/build/dockerfiles/intermediate/go-rust-builder.Dockerfile @@ -7,7 +7,7 @@ FROM ubuntu:20.04 RUN apt-get update && ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime # Install basic packages -RUN apt-get install build-essential curl wget git pkg-config ca-certificates -y +RUN apt-get install build-essential curl wget git pkg-config -y # Install dev-packages RUN apt-get install libclang-dev libssl-dev llvm -y diff --git a/build/dockerfiles/rollup_relayer.Dockerfile b/build/dockerfiles/rollup_relayer.Dockerfile index f67ba15e15..19d013ed75 100644 --- a/build/dockerfiles/rollup_relayer.Dockerfile +++ b/build/dockerfiles/rollup_relayer.Dockerfile @@ -14,6 +14,8 @@ RUN go mod download -x # Build rollup_relayer FROM base as builder +RUN apt-get install ca-certificates -y + RUN --mount=target=. \ --mount=type=cache,target=/root/.cache/go-build \ cd /src/rollup/cmd/rollup_relayer/ && CGO_LDFLAGS="-ldl" go build -v -p 4 -o /bin/rollup_relayer