Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
Librephotos Docker Scaling
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dev Ops
Librephotos Docker Scaling
Commits
22ee0ee3
Unverified
Commit
22ee0ee3
authored
1 year ago
by
Niaz Faridani-Rad
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Use lunar lobster ubuntu image
- python 3.12 bumped - libjxl added - libvips bumped
parent
e6c41ce1
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
backend/base/Dockerfile
+5
-14
5 additions, 14 deletions
backend/base/Dockerfile
with
5 additions
and
14 deletions
backend/base/Dockerfile
+
5
−
14
View file @
22ee0ee3
FROM
ubuntu:
jammy
FROM
ubuntu:
lunar
ARG
TARGETPLATFORM
ARG
TARGETPLATFORM
ENV
DEBIAN_FRONTEND=noninteractive
ENV
DEBIAN_FRONTEND=noninteractive
...
@@ -51,6 +51,8 @@ RUN apt-get update && \
...
@@ -51,6 +51,8 @@ RUN apt-get update && \
pkg-config \
pkg-config \
rustc \
rustc \
libtinfo5 \
libtinfo5 \
libjxl-dev \
libvips-dev \
swig && \
swig && \
apt-get clean && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
rm -rf /var/lib/apt/lists/*
...
@@ -59,7 +61,7 @@ RUN pip3 install --no-cache-dir torch torchvision --extra-index-url https://down
...
@@ -59,7 +61,7 @@ RUN pip3 install --no-cache-dir torch torchvision --extra-index-url https://down
RUN
pip3
install
--no-cache-dir
cmake
==
3.21.2
RUN
pip3
install
--no-cache-dir
cmake
==
3.21.2
#Build and install libraw
#Build and install libraw
, supports more RAW image types
WORKDIR
/tmp/builds
WORKDIR
/tmp/builds
RUN
git clone https://github.com/LibRaw/LibRaw
&&
\
RUN
git clone https://github.com/LibRaw/LibRaw
&&
\
cd
LibRaw
&&
\
cd
LibRaw
&&
\
...
@@ -70,7 +72,7 @@ RUN git clone https://github.com/LibRaw/LibRaw && \
...
@@ -70,7 +72,7 @@ RUN git clone https://github.com/LibRaw/LibRaw && \
make install && \
make install && \
rm -rf /tmp/builds/*
rm -rf /tmp/builds/*
#Build and install imagemagick
#Build and install imagemagick
to use current libraw
WORKDIR
/tmp/builds
WORKDIR
/tmp/builds
ARG
IMAGEMAGICK_VERSION=7.1.1-4
ARG
IMAGEMAGICK_VERSION=7.1.1-4
RUN
curl
-SL
https://imagemagick.org/archive/releases/ImageMagick-
${
IMAGEMAGICK_VERSION
}
.tar.xz |
tar
-xJf-
&&
\
RUN
curl
-SL
https://imagemagick.org/archive/releases/ImageMagick-
${
IMAGEMAGICK_VERSION
}
.tar.xz |
tar
-xJf-
&&
\
...
@@ -80,17 +82,6 @@ RUN curl -SL https://imagemagick.org/archive/releases/ImageMagick-${IMAGEMAGICK_
...
@@ -80,17 +82,6 @@ RUN curl -SL https://imagemagick.org/archive/releases/ImageMagick-${IMAGEMAGICK_
ldconfig /usr/local/lib
&&
\
ldconfig /usr/local/lib
&&
\
rm
-rf
/tmp/builds/
*
rm
-rf
/tmp/builds/
*
# Build and install libvips
WORKDIR
/tmp/builds
ARG
VIPSVERSION=8.13.0
RUN
curl
-SL
https://github.com/libvips/libvips/releases/download/v
${
VIPSVERSION
}
/vips-
${
VIPSVERSION
}
.tar.gz |
tar
-xz
\
&& cd vips-${VIPSVERSION} \
&& ./configure \
&& make V=0 \
&& make install \
&& ldconfig \
&& rm -rf /tmp/builds/*
# Build and install dlib
# Build and install dlib
# Compile it WITHOUT AVX and SSE4 instructions to ensure compatibility
# Compile it WITHOUT AVX and SSE4 instructions to ensure compatibility
WORKDIR
/tmp/builds
WORKDIR
/tmp/builds
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment