From 0f2ff8d62fd43fe35a8b60805622c6d21bdbf606 Mon Sep 17 00:00:00 2001 From: Yurii Koba Date: Tue, 28 Nov 2023 14:17:54 +0200 Subject: [PATCH] update ubuntu version for docker --- rpc-server/Dockerfile | 2 +- state-indexer/Dockerfile | 2 +- tx-indexer/Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rpc-server/Dockerfile b/rpc-server/Dockerfile index 59980365..1649edd2 100644 --- a/rpc-server/Dockerfile +++ b/rpc-server/Dockerfile @@ -16,7 +16,7 @@ COPY rpc-server/src ./rpc-server/src # build for release RUN cargo build --release --no-default-features --features "$features" -FROM ubuntu:20.04 +FROM ubuntu:22.04 RUN apt update && apt install -yy openssl ca-certificates COPY --from=builder /tmp/target/release/read-rpc-server . ENTRYPOINT ["./read-rpc-server"] diff --git a/state-indexer/Dockerfile b/state-indexer/Dockerfile index d3a26f6e..e429cc8c 100644 --- a/state-indexer/Dockerfile +++ b/state-indexer/Dockerfile @@ -16,7 +16,7 @@ COPY state-indexer/src ./state-indexer/src # build for release RUN cargo build --release --features "$features" -FROM ubuntu:20.04 +FROM ubuntu:22.04 RUN apt update && apt install -yy openssl ca-certificates COPY --from=builder /tmp/target/release/state-indexer . ENTRYPOINT ["./state-indexer"] diff --git a/tx-indexer/Dockerfile b/tx-indexer/Dockerfile index 7b36fc5c..e1f5a15a 100644 --- a/tx-indexer/Dockerfile +++ b/tx-indexer/Dockerfile @@ -16,7 +16,7 @@ COPY tx-indexer/src ./tx-indexer/src # build for release RUN cargo build --release --features "$features" -FROM ubuntu:20.04 +FROM ubuntu:22.04 RUN apt update && apt install -yy openssl ca-certificates libcurl4 COPY --from=builder /tmp/target/release/tx-indexer . ENTRYPOINT ["./tx-indexer"]