# Use Alpine Linux as the base image (lightweight and secure) FROM alpine:latest # Set maintainer label (good practice for research reproducibility) LABEL maintainer="Tobias Nauen" # Install system dependencies (Git, Bash, and Hugo) RUN apk add --no-cache \ git \ bash \ wget \ go \ gzip # && wget -O /tmp/hugo.deb https://github.com/gohugoio/hugo/releases/download/v0.111.3/hugo_extended_0.111.3_linux-amd64.deb \ # && apk add --no-cache --virtual .build-deps dpkg \ # && dpkg -i /tmp/hugo.deb \ # && rm /tmp/hugo.deb \ # && apk del .build-deps \ # && hugo version ENV GOPATH=/go ENV PATH="$PATH:$GOPATH/bin" RUN go version RUN apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community hugo RUN hugo version # Set working directory (adjust as needed) WORKDIR /app