summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgabrix73 <gabriel1@frozenstar.info>2026-04-12 16:31:34 +0200
committergabrix73 <gabriel1@frozenstar.info>2026-04-12 16:31:34 +0200
commit6f827241e2d5ed96cf4bccd1e9301b5e928d42e3 (patch)
treedd924726b27f7b11de29a1206051dd8f4e991349
parent53b5152581ffbb5bc981d4496dbd30709913e794 (diff)
downloadkhimera-6f827241e2d5ed96cf4bccd1e9301b5e928d42e3.tar.gz
khimera-6f827241e2d5ed96cf4bccd1e9301b5e928d42e3.tar.xz
khimera-6f827241e2d5ed96cf4bccd1e9301b5e928d42e3.zip
fix: install ca-certificates via HTTP first, then switch apt to HTTPS
-rw-r--r--docker/Dockerfile.appimage8
1 files changed, 4 insertions, 4 deletions
diff --git a/docker/Dockerfile.appimage b/docker/Dockerfile.appimage
index 8ee0bc8..3730487 100644
--- a/docker/Dockerfile.appimage
+++ b/docker/Dockerfile.appimage
@@ -4,10 +4,10 @@ ENV DEBIAN_FRONTEND=noninteractive
ENV GO_VERSION=1.23.0
ENV APPIMAGE_TOOL_VERSION=13
-RUN sed -i 's|http://archive.ubuntu.com|https://archive.ubuntu.com|g' /etc/apt/sources.list && \
- sed -i 's|http://security.ubuntu.com|https://security.ubuntu.com|g' /etc/apt/sources.list
-
-RUN apt-get update && apt-get install -y \
+RUN apt-get update && apt-get install -y ca-certificates && \
+ sed -i 's|http://archive.ubuntu.com|https://archive.ubuntu.com|g' /etc/apt/sources.list && \
+ sed -i 's|http://security.ubuntu.com|https://security.ubuntu.com|g' /etc/apt/sources.list && \
+ apt-get update && apt-get install -y \
wget curl git \
gcc g++ \
libgl1-mesa-dev \