Migrated arm64 Dockerfile to jammy

To support more gcc versions
This commit is contained in:
raystlin
2025-04-06 21:26:10 +00:00
committed by Michael Mayer
parent fd0baeb5a4
commit ae735f6a1e

View File

@@ -1,4 +1,4 @@
FROM ubuntu:24.10 FROM ubuntu:22.04
LABEL maintainer="PhotoPrism UG <hello@photoprism.app>" LABEL maintainer="PhotoPrism UG <hello@photoprism.app>"
@@ -23,16 +23,19 @@ RUN apt-get update && apt-get upgrade && \
build-essential \ build-essential \
python3 \ python3 \
ca-certificates \ ca-certificates \
llvm-17 \
clang-17 \
curl \ curl \
wget \ wget \
git \ git \
lsb-release \
software-properties-common \
gnupg \
jq \ jq \
nano nano
# Install bazelisk # Install bazelisk and llvm
RUN ln -s /usr/bin/python3 /usr/bin/python && \ RUN wget https://apt.llvm.org/llvm.sh && chmod u+x llvm.sh && \
./llvm.sh 17 && rm llvm.sh && \
ln -s /usr/bin/python3 /usr/bin/python && \
ln -s /usr/bin/clang-17 /usr/bin/clang && \ ln -s /usr/bin/clang-17 /usr/bin/clang && \
ln -s /usr/bin/clang++-17 /usr/bin/clang++ && \ ln -s /usr/bin/clang++-17 /usr/bin/clang++ && \
ln -s /usr/bin/clang-cpp /usr/bin/clang-cpp && \ ln -s /usr/bin/clang-cpp /usr/bin/clang-cpp && \