From 94e638b16354ec7cc741b072b384c57879f53f43 Mon Sep 17 00:00:00 2001 From: Daniel S Date: Wed, 13 Nov 2024 14:23:34 +0100 Subject: [PATCH] change user in build stage Signed-off-by: Daniel S --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index dd664522..7dc49b05 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM docker.io/floryn90/hugo:0.138.0-ext-ubuntu AS builder ARG TRAINING_HUGO_ENV=default - +USER root COPY . /src RUN hugo --environment ${TRAINING_HUGO_ENV} --minify