From 0e60b74c4942d9aba12a0b27ef5f754da4faa9cf Mon Sep 17 00:00:00 2001 From: Sebastien Baizet Date: Thu, 10 Oct 2024 16:55:33 +0200 Subject: [PATCH] add debugging tools on scroll services --- build/dockerfiles/bridgehistoryapi-api.Dockerfile | 1 + build/dockerfiles/bridgehistoryapi-fetcher.Dockerfile | 2 +- build/dockerfiles/coordinator-api.Dockerfile | 1 + build/dockerfiles/coordinator-cron.Dockerfile | 3 +-- build/dockerfiles/gas_oracle.Dockerfile | 2 +- build/dockerfiles/rollup_relayer.Dockerfile | 2 +- 6 files changed, 6 insertions(+), 5 deletions(-) diff --git a/build/dockerfiles/bridgehistoryapi-api.Dockerfile b/build/dockerfiles/bridgehistoryapi-api.Dockerfile index f431864073..bca98b2c77 100644 --- a/build/dockerfiles/bridgehistoryapi-api.Dockerfile +++ b/build/dockerfiles/bridgehistoryapi-api.Dockerfile @@ -17,6 +17,7 @@ RUN --mount=target=. \ FROM ubuntu:20.04 ENV CGO_LDFLAGS="-Wl,--no-as-needed -ldl" +RUN apt update && apt install vim netcat-openbsd net-tools curl -y COPY --from=builder /bin/bridgehistoryapi-api /bin/ WORKDIR /app ENTRYPOINT ["bridgehistoryapi-api"] diff --git a/build/dockerfiles/bridgehistoryapi-fetcher.Dockerfile b/build/dockerfiles/bridgehistoryapi-fetcher.Dockerfile index 1327dfe0d9..203d54bba6 100644 --- a/build/dockerfiles/bridgehistoryapi-fetcher.Dockerfile +++ b/build/dockerfiles/bridgehistoryapi-fetcher.Dockerfile @@ -17,7 +17,7 @@ RUN --mount=target=. \ FROM ubuntu:20.04 ENV CGO_LDFLAGS="-Wl,--no-as-needed -ldl" -RUN apt update && apt install ca-certificates -y +RUN apt update && apt install ca-certificates vim netcat-openbsd net-tools curl -y RUN update-ca-certificates COPY --from=builder /bin/bridgehistoryapi-fetcher /bin/ WORKDIR /app diff --git a/build/dockerfiles/coordinator-api.Dockerfile b/build/dockerfiles/coordinator-api.Dockerfile index 391abac5b5..a60f07b651 100644 --- a/build/dockerfiles/coordinator-api.Dockerfile +++ b/build/dockerfiles/coordinator-api.Dockerfile @@ -40,6 +40,7 @@ FROM ubuntu:20.04 ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/src/coordinator/internal/logic/verifier/lib ENV CGO_LDFLAGS="-Wl,--no-as-needed -ldl" # ENV CHAIN_ID=534353 +RUN apt update && apt install vim netcat-openbsd net-tools curl -y RUN mkdir -p /src/coordinator/internal/logic/verifier/lib COPY --from=builder /bin/lib /src/coordinator/internal/logic/verifier/lib COPY --from=builder /bin/coordinator_api /bin/ diff --git a/build/dockerfiles/coordinator-cron.Dockerfile b/build/dockerfiles/coordinator-cron.Dockerfile index 059c6a92db..d15d9e3aaa 100644 --- a/build/dockerfiles/coordinator-cron.Dockerfile +++ b/build/dockerfiles/coordinator-cron.Dockerfile @@ -19,9 +19,8 @@ RUN --mount=target=. \ # Pull coordinator into a second stage deploy ubuntu container FROM ubuntu:20.04 - ENV CGO_LDFLAGS="-Wl,--no-as-needed -ldl" - +RUN apt update && apt install vim netcat-openbsd net-tools curl -y COPY --from=builder /bin/coordinator_cron /bin/ WORKDIR /app ENTRYPOINT ["coordinator_cron"] diff --git a/build/dockerfiles/gas_oracle.Dockerfile b/build/dockerfiles/gas_oracle.Dockerfile index 83009d9068..2272a43b82 100644 --- a/build/dockerfiles/gas_oracle.Dockerfile +++ b/build/dockerfiles/gas_oracle.Dockerfile @@ -21,7 +21,7 @@ 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 +RUN apt update && apt install vim netcat-openbsd net-tools curl ca-certificates -y ENV CGO_LDFLAGS="-ldl" diff --git a/build/dockerfiles/rollup_relayer.Dockerfile b/build/dockerfiles/rollup_relayer.Dockerfile index 2a0bb27a87..4607f2d109 100644 --- a/build/dockerfiles/rollup_relayer.Dockerfile +++ b/build/dockerfiles/rollup_relayer.Dockerfile @@ -21,7 +21,7 @@ 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 +RUN apt update && apt install vim netcat-openbsd net-tools curl ca-certificates -y ENV CGO_LDFLAGS="-ldl"