images/act_runtime/Dockerfile
Peter Kurfer 54f9733471
All checks were successful
act_runtime / build_images (node:20-bookworm-slim, ubuntu-latest-amd64) (push) Successful in 5m24s
act_runtime / build_images (node:20-bullseye-slim, ubuntu-latest-amd64) (push) Successful in 16s
act_runtime / build_images (node:20-bookworm-slim, ubuntu-latest) (push) Successful in 5m53s
act_runtime / build_images (node:20-bullseye-slim, ubuntu-latest) (push) Successful in 5m56s
KeyDB / build-key-db-image (push) Successful in 49s
Image builds / build_images (renovate) (push) Successful in 2m40s
fix: LVVM version build arg
2023-12-22 23:36:40 +01:00

33 lines
No EOL
1.1 KiB
Docker

ARG BASE_IMAGE=node:20-bookworm-slim
FROM ${BASE_IMAGE}
ARG LLVM_VERSION=16
RUN --mount=type=cache,target=/var/lib/apt \
--mount=type=cache,target=/var/lib/cache \
apt-get update && \
apt-get install -y \
sudo \
git-lfs \
ca-certificates \
curl \
jq \
gnupg \
gcc \
clang-${LLVM_VERSION} \
llvm-${LLVM_VERSION} \
libbpf-dev \
make \
unzip \
libgraphite2-3 \
zstd && \
ln -s /usr/lib/llvm-${LLVM_VERSION}/bin/clang /usr/bin/clang && \
ln -s -f /usr/lib/llvm-${LLVM_VERSION}/bin/llc /usr/bin/ && \
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