From 5f87e119973b3b967d0dbe15ceb025a8cbb16402 Mon Sep 17 00:00:00 2001 From: ytshih Date: Fri, 18 Oct 2024 17:07:10 +0000 Subject: [PATCH] Fix: Trust rootca in image --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index e577cc5..488e77c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,9 @@ FROM archlinux:base-devel RUN pacman-key --init && pacman-key --populate RUN pacman -Syu --needed --noconfirm nodejs minio-client +ADD rootca.pem /root +RUN trust anchor /root/rootca.pem && update-ca-trust + RUN echo '%wheel ALL=(ALL:ALL) NOPASSWD: ALL' >> /etc/sudoers RUN useradd -G wheel -d /build builder RUN mkdir /script