diff --git a/debian-pack/Dockerfile b/debian-pack/Dockerfile new file mode 100644 index 0000000..0ca3d2d --- /dev/null +++ b/debian-pack/Dockerfile @@ -0,0 +1,11 @@ +FROM debian:bookworm-slim + +RUN true \ + && apt update \ + && apt install --yes \ + curl fakeroot ca-certificates gettext \ + git binutils xz-utils bzip2 zstd unzip \ + python3 \ + && apt clean \ + && rm -rf /var/lib/apt/lists/* + diff --git a/myhugo/Dockerfile b/myhugo/Dockerfile new file mode 100644 index 0000000..2f54c7d --- /dev/null +++ b/myhugo/Dockerfile @@ -0,0 +1,9 @@ +FROM debian:bullseye-slim + +RUN apt update && \ + apt install --yes curl ca-certificates && \ + curl --location --output hugo.deb https://github.com/gohugoio/hugo/releases/download/v0.111.3/hugo_extended_0.111.3_linux-amd64.deb && \ + apt install --yes ./hugo.deb && \ + rm ./hugo.deb && \ + apt clean && \ + rm -rf /var/lib/apt/lists/* diff --git a/myhugo/Dockerfile.old b/myhugo/Dockerfile.old new file mode 100644 index 0000000..e141c17 --- /dev/null +++ b/myhugo/Dockerfile.old @@ -0,0 +1,7 @@ +FROM alpine:latest + +RUN apk update && \ + apk add --no-cache curl ca-certificates libc6-compat libstdc++ git && \ + curl --location --output hugo.tar.gz https://github.com/gohugoio/hugo/releases/download/v0.111.3/hugo_extended_0.111.3_linux-amd64.tar.gz && \ + tar -xf hugo.tar.gz -C /usr/bin/ hugo && \ + rm hugo.tar.gz