Peter Kurfer
0d8c8b9cfd
All checks were successful
act_runtime / build_images (node:20-bookworm-slim, ubuntu-latest) (push) Successful in 2m41s
act_runtime / build_images (node:20-bullseye-slim, ubuntu-latest) (push) Successful in 3m6s
KeyDB / build-key-db-image (push) Successful in 55s
act_runtime / build_images (node:20-bookworm-slim, ubuntu-latest-amd64) (push) Successful in 4m34s
Image builds / build_images (renovate) (push) Successful in 2m45s
act_runtime / build_images (node:20-bullseye-slim, ubuntu-latest-amd64) (push) Successful in 3m38s
15 lines
No EOL
781 B
Docker
15 lines
No EOL
781 B
Docker
ARG BASE_IMAGE=node:20-bookworm-slim
|
|
|
|
FROM ${BASE_IMAGE}
|
|
|
|
RUN --mount=type=cache,target=/var/lib/apt \
|
|
--mount=type=cache,target=/var/lib/cache \
|
|
apt-get update && \
|
|
apt-get install -y git-lfs ca-certificates curl gnupg gcc make unzip libgraphite2-3 zstd && \
|
|
mkdir -p /etc/apt/keyrings/ && \
|
|
curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg && \
|
|
echo \
|
|
"deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian \
|
|
"$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" > /etc/apt/sources.list.d/docker.list && \
|
|
apt-get update && \
|
|
apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin |