images/act_runtime/Dockerfile
Peter Kurfer ec7854e0c4
All checks were successful
Image builds / build_images (act_runtime) (push) Successful in 2m3s
Image builds / build_images (renovate) (push) Successful in 1m58s
KeyDB / build-key-db-image (push) Successful in 26s
feat(act_runtime): add gcc
2023-11-17 10:09:06 +01:00

14 lines
No EOL
718 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 && \
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