mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-12 19:42:55 +01:00
Add exiftool to images used for CE/EE tests
Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
This commit is contained in:
parent
132bafc2ff
commit
7a9dd56386
5 changed files with 39 additions and 0 deletions
15
scripts/install-exiftool
Executable file
15
scripts/install-exiftool
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -xeuo pipefail
|
||||
IFS=$'\n\t'
|
||||
|
||||
mkdir build \
|
||||
&& curl -fsSL "$EXIFTOOL_DOWNLOAD_URL" -o exiftool.tar.gz \
|
||||
&& echo "$EXIFTOOL_DOWNLOAD_SHA256 exiftool.tar.gz" | sha256sum -c - \
|
||||
&& tar -C build -xzf exiftool.tar.gz \
|
||||
&& cd build/Image-ExifTool-$EXIFTOOL_VERSION \
|
||||
&& perl Makefile.PL \
|
||||
&& make install \
|
||||
&& cd ../.. \
|
||||
&& rm -rf build \
|
||||
&& rm exiftool.tar.gz
|
||||
Loading…
Add table
Add a link
Reference in a new issue