Skip to content

Commit

Permalink
update ubuntu version for docker
Browse files Browse the repository at this point in the history
  • Loading branch information
kobayurii committed Nov 28, 2023
1 parent 0809a3b commit 0f2ff8d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rpc-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
2 changes: 1 addition & 1 deletion state-indexer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
2 changes: 1 addition & 1 deletion tx-indexer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 0f2ff8d

Please sign in to comment.