From 45a61ca45aba44b3aee0ebcc5109e74fc8da959b Mon Sep 17 00:00:00 2001 From: Lasse Alm Date: Thu, 15 Feb 2024 10:12:48 +0100 Subject: [PATCH 1/2] add curl to image --- recover-id-object/scripts/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recover-id-object/scripts/Dockerfile b/recover-id-object/scripts/Dockerfile index 3d741fc5..5a07b1f2 100644 --- a/recover-id-object/scripts/Dockerfile +++ b/recover-id-object/scripts/Dockerfile @@ -16,7 +16,7 @@ COPY --from=build /usr/app/recover-id-object/target/release/recover-id-object ./ RUN apt-get update && \ apt-get -y install \ - ca-certificates \ + ca-certificates curl \ && rm -rf /var/lib/apt/lists/* RUN chmod +x recover-id-object From df3d708eeb54ee4594509764a047ed3d438b9f58 Mon Sep 17 00:00:00 2001 From: Lasse Alm Date: Thu, 15 Feb 2024 13:18:06 +0100 Subject: [PATCH 2/2] add comment to why curl is installed --- recover-id-object/scripts/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/recover-id-object/scripts/Dockerfile b/recover-id-object/scripts/Dockerfile index 5a07b1f2..2106f180 100644 --- a/recover-id-object/scripts/Dockerfile +++ b/recover-id-object/scripts/Dockerfile @@ -16,6 +16,7 @@ COPY --from=build /usr/app/recover-id-object/target/release/recover-id-object ./ RUN apt-get update && \ apt-get -y install \ + # curl is used to report errors to slack with ca-certificates curl \ && rm -rf /var/lib/apt/lists/*