mirror of
https://github.com/photoprism/photoprism.git
synced 2026-01-23 02:24:24 +00:00
Migrated arm64 Dockerfile to jammy
To support more gcc versions
This commit is contained in:
parent
fd0baeb5a4
commit
ae735f6a1e
1 changed files with 8 additions and 5 deletions
|
|
@ -1,4 +1,4 @@
|
|||
FROM ubuntu:24.10
|
||||
FROM ubuntu:22.04
|
||||
|
||||
LABEL maintainer="PhotoPrism UG <hello@photoprism.app>"
|
||||
|
||||
|
|
@ -23,16 +23,19 @@ RUN apt-get update && apt-get upgrade && \
|
|||
build-essential \
|
||||
python3 \
|
||||
ca-certificates \
|
||||
llvm-17 \
|
||||
clang-17 \
|
||||
curl \
|
||||
wget \
|
||||
git \
|
||||
lsb-release \
|
||||
software-properties-common \
|
||||
gnupg \
|
||||
jq \
|
||||
nano
|
||||
|
||||
# Install bazelisk
|
||||
RUN ln -s /usr/bin/python3 /usr/bin/python && \
|
||||
# Install bazelisk and llvm
|
||||
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-cpp /usr/bin/clang-cpp && \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue