backup Dockerfile used in my woodpecker-ci
This commit is contained in:
parent
0938c4cbdd
commit
53289dbfa1
11
debian-pack/Dockerfile
Normal file
11
debian-pack/Dockerfile
Normal 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
9
myhugo/Dockerfile
Normal 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
7
myhugo/Dockerfile.old
Normal 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
|
Loading…
Reference in a new issue