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
f21918c5
Commit
f21918c5
authored
3 years ago
by
Niaz Faridani-Rad
Browse files
Options
Downloads
Patches
Plain Diff
Revert to buster python image
parent
17c73a4a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
backend/Dockerfile
+2
-10
2 additions, 10 deletions
backend/Dockerfile
docker-compose.yml
+1
-1
1 addition, 1 deletion
docker-compose.yml
with
3 additions
and
11 deletions
backend/Dockerfile
+
2
−
10
View file @
f21918c5
FROM
ubuntu:groovy
FROM
python:3.8-slim-buster
# system packages installation
RUN
apt update
&&
apt
install
-y
ffmpeg libimage-exiftool-perl curl nfs-common cifs-utils libopenblas-dev libheif-dev libmagic1 libraw-dev libboost-all-dev libxrender-dev liblapack-dev git bzip2 cmake build-essential libsm6 libglib2.0-dev libgl1-mesa-glx libpq-dev libexpat-dev
\
...
...
@@ -20,16 +20,8 @@ RUN apt update && apt install -y ffmpeg libimage-exiftool-perl curl nfs-common c
libtool-bin \
wget \
libwebp-dev --no-install-recommends
#Build and install python
RUN
apt-get update
\
&&
apt-get
install
-y
python3-pip python3-dev
\
&&
cd
/usr/local/bin
\
&&
ln
-s
/usr/bin/python3 python
\
&&
pip3
install
--upgrade
pip
#Build and install libraw
#RUN mkdir /libraw
#RUN curl -SL https://www.libraw.org/data/LibRaw-0.20.2.tar.gz | tar -zxC /libraw
RUN
git clone https://github.com/LibRaw/LibRaw
RUN
ls
WORKDIR
/LibRaw
...
...
@@ -42,7 +34,7 @@ RUN make install
WORKDIR
/
RUN
mkdir
/imagemagick
RUN
curl
-SL
https://www.imagemagick.org/download/ImageMagick.tar.gz |
tar
-zxC
/imagemagick
WORKDIR
/imagemagick/ImageMagick-7.1.0-
2
WORKDIR
/imagemagick/ImageMagick-7.1.0-
4
RUN
./configure
--with-modules
RUN
make
install
RUN
ldconfig /usr/local/lib
...
...
This diff is collapsed.
Click to expand it.
docker-compose.yml
+
1
−
1
View file @
f21918c5
...
...
@@ -39,7 +39,7 @@ services:
-
backend
backend
:
image
:
reallibrephotos/librephotos
-backend
:${tag}
image
:
reallibrephotos/librephotos:${tag}
restart
:
always
volumes
:
-
${myPhotos}:/data
...
...
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