Comments (5)
Thanks for offering to help! Great question about Alpine / Debian. I've been wondering about making the switch. I opened a new issue to track this: #358. For now I suggest adding dcraw
to the existing Alpine image with a multi-stage build.
from thumbsup.
Hi! Thanks for raising this. It's a good idea.
I see dcraw
is available on some package managers (e.g. apt install dcraw
) but not in Alpine Linux.
I will look into building it from source.
from thumbsup.
I'd like to have a go at this - fingers crossed Ill have time over the next week or so
from thumbsup.
Question: What are your thoughts on moving away from alpine to something like Debian? Before spending time working out compiling, I just want to confirm that's the right way to fix this as opposed to using something which has the package already available!
Let me know what you think :-)
from thumbsup.
For all those in need of dcraw: I have a small Dockerfile adding dcraw-support. However, the dcraw support seems to ignore the color settings embedded in the file. My files look a dull when converted with the automated process of thumbsup and I did not find the cause for it so far.
Important note: The Dockerfile works but does a VERY dirty job. anyone keen into building it with a proper intermediate container is highly welcomed.
FROM ghcr.io/thumbsup/thumbsup
# install prerequisites
RUN apk add wget curl build-base gcc gawk jasper-dev libjpeg libjpeg-turbo-dev
# build iconv
RUN cd /tmp; \
wget https://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.17.tar.gz; \
tar -xzvf libiconv-*.tar.gz ;\
cd libiconv* ; \
./configure ; \
RUN cd /tmp/libiconv* ; \
make ; \
make install ;
# build gettext
RUN cd /tmp ; \
wget https://ftp.gnu.org/gnu/gettext/gettext-0.22.tar.xz ; \
tar -xvf gettext-*.tar.xz ; \
cd /tmp/gettext* ; \
./configure ;
RUN cd /tmp/gettext* ; \
make ; \
make install ;
RUN apk add lcms2-dev
# build dcraw
RUN cd /tmp ; \
wget https://www.dechifro.org/dcraw/archive/dcraw-9.28.0.tar.gz ; \
tar -xzvf dcraw-*.tar.gz ; \
cd /tmp/dcraw ; \
sed 's/-llcms2/-llcms2 -lintl/' <install >install.new && mv install.new install ; \
chmod 755 install ;
RUN cd /tmp/dcraw ; \
./install ;
# delete temporary build structures
RUN rm -r /tmp/*
# add optional stuff
RUN apk add ffmpeg gifsicle imagemagick
# make sure thumbsup is run upon container start
CMD ["thumbsup"]
from thumbsup.
Related Issues (20)
- npm install failing clean CentOS Stream release 9 build HOT 6
- Investigate the use of ESM modules
- Read XMP "sidecar" files for meta-data HOT 1
- Link to a specific image in album view
- ffmepg video conversion error HOT 3
- Emojis in folder names not supported on MS Windows HOT 3
- installation instructions don't work; better_sqlite3.node outdated
- Unexpected error Cannot read properties of undefined (reading 'FileModifyDate') HOT 6
- Gallery generated successfully! │ │ 1 albums, 0 photos, 0 videos HOT 1
- All video files are missing in the destination HOT 3
- database is locked HOT 2
- 2.16.0 and later give TypeError: value.split is not a function HOT 3
- link-prefix ignores '..' HOT 3
- Add support for new Content Credentials C2PA standard HOT 3
- Consolidate directory scanning packages
- Docker image: Alpine or Debian HOT 4
- Flow Theme fail to redefine width and tile images HOT 1
- jfif support
- Use GraphicsMagick for HEIC conversion HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from thumbsup.