Skip to content

Commit

Permalink
Reorg
Browse files Browse the repository at this point in the history
  • Loading branch information
Webreaper committed Mar 14, 2024
1 parent 1c1ddd2 commit c13f6fc
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,16 @@ RUN apt-get update \
dcraw \
&& rm -rf /var/lib/apt/lists/*

# ImageMagick with HEIC support. From https://github.com/nekonenene/imagemagick_heic_image
# init the font caches
RUN fc-cache -f -v

WORKDIR /home

COPY [ \
"make_imagemagick.sh", \
"make_exiftool.sh", \
"cleanup.sh", \
"validate.sh", \
"/home/" \
]

Expand All @@ -31,10 +33,8 @@ RUN set -eux \
&& chmod +x ./cleanup.sh \
&& /home/make_imagemagick.sh \
&& /home/make_exiftool.sh \
&& /home/cleanup.sh

# init the font caches
RUN fc-cache -f -v
&& /home/cleanup.sh \
&& /home/validate.sh

# Need sudo for the iNotify count increase
# RUN set -ex && apt-get install -y sudo
Expand Down
13 changes: 13 additions & 0 deletions validate.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

echo "=== Validating ExifTool"

which exiftool
exiftool -ver

echo "=== Validating ImageMagick"

which convert
convert -version | tee imagemagick_version.txt

echo "=== Completed Build."

0 comments on commit c13f6fc

Please sign in to comment.