From d76ec5da938d013a7038e39107ef2f3f5b956392 Mon Sep 17 00:00:00 2001 From: Lasse Alm Date: Fri, 29 Nov 2024 13:00:09 +0100 Subject: [PATCH] install openssl on rust image --- backend-rust/Cargo.lock | 2 +- backend-rust/Cargo.toml | 2 +- backend-rust/Dockerfile | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/backend-rust/Cargo.lock b/backend-rust/Cargo.lock index 3557afd9..1636bb42 100644 --- a/backend-rust/Cargo.lock +++ b/backend-rust/Cargo.lock @@ -891,7 +891,7 @@ dependencies = [ [[package]] name = "concordium-scan" -version = "0.1.2" +version = "0.1.3" dependencies = [ "anyhow", "async-graphql", diff --git a/backend-rust/Cargo.toml b/backend-rust/Cargo.toml index 9cff476d..3c3c94ac 100644 --- a/backend-rust/Cargo.toml +++ b/backend-rust/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "concordium-scan" -version = "0.1.2" +version = "0.1.3" edition = "2021" description = "CCDScan: Indexer and API for the Concordium blockchain" authors = ["Concordium "] diff --git a/backend-rust/Dockerfile b/backend-rust/Dockerfile index 6acca50d..0a746b7c 100644 --- a/backend-rust/Dockerfile +++ b/backend-rust/Dockerfile @@ -17,6 +17,10 @@ FROM ${base_image} WORKDIR /usr/app +RUN apt-get update && \ + apt-get -y install ca-certificates + + COPY migrations /usr/app/migrations COPY --from=build /usr/app/target/release/${target_binary} /usr/bin/ COPY --from=build /usr/local/cargo/bin/sqlx /usr/local/bin/sqlx