fix: use LLVM version for links
Some checks failed
act_runtime / build_images (node:20-bookworm-slim, ubuntu-latest) (push) Successful in 3m47s
act_runtime / build_images (node:20-bullseye-slim, ubuntu-latest) (push) Successful in 5m5s
act_runtime / build_images (node:20-bookworm-slim, ubuntu-latest-amd64) (push) Successful in 5m21s
act_runtime / build_images (node:20-bullseye-slim, ubuntu-latest-amd64) (push) Successful in 16s
Image builds / build_images (renovate) (push) Successful in 3m1s
KeyDB / build-key-db-image (push) Has been cancelled

This commit is contained in:
Peter 2023-12-22 19:34:22 +01:00
parent 9babe27f3f
commit 8e66e6537f
Signed by: prskr
GPG key ID: F56BED6903BC5E37

View file

@ -21,8 +21,8 @@ RUN --mount=type=cache,target=/var/lib/apt \
unzip \
libgraphite2-3 \
zstd && \
ln -s /usr/lib/llvm-16/bin/clang /usr/bin/clang && \
ln -s -f /usr/lib/llvm-16/bin/llc /usr/bin/ && \
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 \