Skip to content

Commit

Permalink
add ca-certificates to gas-oracle and rollup-relayer
Browse files Browse the repository at this point in the history
  • Loading branch information
sbaizet-ledger committed Jul 12, 2024
1 parent 4e3dc52 commit dc14fa0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions build/dockerfiles/gas_oracle.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion build/dockerfiles/intermediate/go-rust-builder.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions build/dockerfiles/rollup_relayer.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dc14fa0

Please sign in to comment.