From 51a5046f3ce29b3209552ed5a878388fc9ff9a14 Mon Sep 17 00:00:00 2001 From: Vezpi Date: Mon, 2 Jun 2025 08:38:52 +0000 Subject: [PATCH] fix: change image base from alpine to stable --- docker/Dockerfile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index c51ae5b..b97eadb 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,11 +1,15 @@ -FROM nginx:alpine +FROM nginx:stable ARG HUGO_VERSION ENV HUGO_VERSION=${HUGO_VERSION} ENV HUGO_DEST=/usr/share/nginx/html -# Install git and curl -RUN apk add --no-cache git curl +# Install dependencies +RUN apt-get update && apt-get install -y \ + curl \ + git \ + ca-certificates \ + && rm -rf /var/lib/apt/lists/* # Download Hugo RUN curl -sSL https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz \