backup Dockerfile used in my woodpecker-ci

This commit is contained in:
leafee98 2024-02-27 20:46:59 +08:00
parent 0938c4cbdd
commit 53289dbfa1
3 changed files with 27 additions and 0 deletions

11
debian-pack/Dockerfile Normal file
View file

@ -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/*

9
myhugo/Dockerfile Normal file
View file

@ -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/*

7
myhugo/Dockerfile.old Normal file
View file

@ -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