From cd18e20c815c5a8a2aae40663c999d7a49c1ab96 Mon Sep 17 00:00:00 2001 From: Chris Froehlingsdorf Date: Sat, 13 May 2023 20:03:51 +0200 Subject: [PATCH] fixed certificates missing in docker image --- Cargo.toml | 2 +- Dockerfile | 3 ++- src/main.rs | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 28855b0..1a76648 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ilagent" -version = "0.4.3" +version = "0.4.4" authors = ["Chris Froehlingsdorf "] edition = "2021" diff --git a/Dockerfile b/Dockerfile index 3a0b736..7792c24 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,7 @@ COPY . . RUN cargo install --path . FROM debian:bullseye-slim -RUN apt-get update && apt-get install -y openssl && rm -rf /var/lib/apt/lists/* +RUN apt-get update && apt-get install -y openssl ca-certificates && rm -rf /var/lib/apt/lists/* +RUN update-ca-certificates COPY --from=builder /usr/local/cargo/bin/ilagent /usr/local/bin/ilagent ENTRYPOINT ["ilagent"] \ No newline at end of file diff --git a/src/main.rs b/src/main.rs index 642f755..ab8a1c8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -26,7 +26,7 @@ fn main() -> () { let matches = App::new("ilert Agent") - .version("0.4.3") + .version("0.4.4") .author("iLert GmbH. ") .about("The ilert Agent 🦀 📦 lets you easily integrate your on premise system with ilert.")