Compare commits

..

1 Commits

Author SHA1 Message Date
Sebastien Baizet
f1576a4e91 add ca-certificates to gas-oracle and rollup-relayer 2024-07-12 11:25:36 +02:00
2 changed files with 4 additions and 4 deletions

View File

@@ -14,8 +14,6 @@ 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
@@ -23,6 +21,8 @@ RUN --mount=target=. \
# Pull gas_oracle into a second stage deploy ubuntu container
FROM ubuntu:20.04
RUN apt update && apt install ca-certificates -y
ENV CGO_LDFLAGS="-ldl"
COPY --from=builder /bin/gas_oracle /bin/

View File

@@ -14,8 +14,6 @@ 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
@@ -23,6 +21,8 @@ RUN --mount=target=. \
# Pull rollup_relayer into a second stage deploy ubuntu container
FROM ubuntu:20.04
RUN apt update && apt install ca-certificates -y
ENV CGO_LDFLAGS="-ldl"
COPY --from=builder /bin/rollup_relayer /bin/