fix: change image base from alpine to stable
All checks were successful
Deploy / Deploy (push) Successful in 4s

This commit is contained in:
Vezpi 2025-06-02 08:38:52 +00:00
parent b9b4d0bf8b
commit 51a5046f3c

View File

@ -1,11 +1,15 @@
FROM nginx:alpine FROM nginx:stable
ARG HUGO_VERSION ARG HUGO_VERSION
ENV HUGO_VERSION=${HUGO_VERSION} ENV HUGO_VERSION=${HUGO_VERSION}
ENV HUGO_DEST=/usr/share/nginx/html ENV HUGO_DEST=/usr/share/nginx/html
# Install git and curl # Install dependencies
RUN apk add --no-cache git curl RUN apt-get update && apt-get install -y \
curl \
git \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
# Download Hugo # Download Hugo
RUN curl -sSL https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz \ RUN curl -sSL https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz \