mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
Migrated arm64 Dockerfile to jammy
To support more gcc versions
This commit is contained in:
@@ -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 && \
|
||||||
|
|||||||
Reference in New Issue
Block a user