From e9b06ea407bce9a494647476cefc18c526e902a1 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Tue, 26 Mar 2024 08:02:41 +0100 Subject: [PATCH] switch to root before installing python --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3c755ee..bdf9e08 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,10 @@ FROM solidnerd/bookstack:24.2.2-1 +USER root + RUN apt-get update && apt-get install -y \ python3 \ python3-pip \ - && rm -rf /var/lib/apt/lists/* \ No newline at end of file + && rm -rf /var/lib/apt/lists/* + +USER 33 \ No newline at end of file