update readme and add dockerfiles

This commit is contained in:
Tobias Nauen
2026-01-14 08:59:32 +01:00
parent 97b5eb30db
commit b93bf4493d
4 changed files with 72 additions and 1 deletions

View File

@@ -0,0 +1,31 @@
# 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