Compare commits

...

1 Commits

Author SHA1 Message Date
Sebastien Baizet
dc14fa085a add ca-certificates to gas-oracle and rollup-relayer 2024-07-12 10:31:31 +02:00
3 changed files with 5 additions and 1 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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