From b9308473d3da7963ad3bb5601781cb07c37765f3 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 7 Nov 2024 04:35:34 +0000 Subject: [PATCH 1/2] Update docker.io/floryn90/hugo Docker tag to v0.138.0 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 124bb8e..1ea2dd8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM docker.io/floryn90/hugo:0.134.2-ext-ubuntu AS builder +FROM docker.io/floryn90/hugo:0.138.0-ext-ubuntu AS builder ARG TRAINING_HUGO_ENV=default From ee6da5b7725422efebfa851cbbe97fee82afe780 Mon Sep 17 00:00:00 2001 From: Daniel S Date: Wed, 13 Nov 2024 14:21:31 +0100 Subject: [PATCH 2/2] 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 1ea2dd8..642fb34 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