From 1c482610f4f6cd43a393c48f52a76e7fadf1a3d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Valverd=C3=A9?= Date: Thu, 31 Aug 2023 03:03:29 +0200 Subject: [PATCH] Attempt to fix git fetch certificate error --- .drone.jsonnet | 2 +- Dockerfile | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index e762cf5..4c888d2 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -5,7 +5,7 @@ local install_run_step = { name: "install-run", image: bun_image, commands: [ - "apt update -y && apt full-upgrade -y && apt install -y --no-install-recommends git", + "apt update -y && apt full-upgrade -y && apt install -y --reinstall ca-certificates && apt install -y --no-install-recommends git", "bun install --production --frozen-lockfile --no-cache", "bun start .", ], diff --git a/Dockerfile b/Dockerfile index 9480aa9..f21679a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,7 @@ FROM oven/bun:0.8.1 RUN apt update -y && \ apt full-upgrade -y && \ + apt install -y --reinstall ca-certificates && \ apt install -y --no-install-recommends git && \ apt autoremove -y --purge && \ apt clean