Skip to content

AP-589: rebuild image based on upstream iipsrv/iipsrv image#7

Open
anarchivist wants to merge 2 commits intomainfrom
AP-589
Open

AP-589: rebuild image based on upstream iipsrv/iipsrv image#7
anarchivist wants to merge 2 commits intomainfrom
AP-589

Conversation

@anarchivist
Copy link
Member

@anarchivist anarchivist commented Feb 12, 2026

Ruven, the IIPImage maintainer, updates the iipsrv images upon new releases of iipsrv. This PR uses his (Alpine/lighttpd-based) image as a base image and update the package dependencies as part of the build process.

This upgrades us from IIPImage 1.1 to 1.3. One of the major changes in 1.2 is that iipsrv now supports the version 3.0 of the IIIF Image API, which necessitates some changes in the fixtures we're using. Otherwise, IIPImage 1.3 should be a drop-in replacement for the v1.1 image we have been using for UCBEARS.

@anarchivist anarchivist force-pushed the AP-589 branch 11 times, most recently from 14c9be7 to 048375c Compare February 12, 2026 23:29
Ruven, the IIPImage maintainer, updates the iipsrv images upon new releases of
iipsrv. This PR uses his (Alpine/lighttpd-based) image as a base image and
update  the package dependencies as part of the build process.

This upgrades us from IIPImage 1.1 to 1.3. One of the major changes in 1.2 is
that iipsrv now supports the version 3.0 of the IIIF Image API, which
necessitates some changes in the fixtures we're using. Otherwise, IIPImage 1.3
should be a drop-in replacement for the v1.1 image we have been using for
UCBEARS.

ENV LOGFILE=/dev/stdout
# iipsrv/iipsrv sets this by default; we don't want to do that
ENV FILESYSTEM_PREFIX=
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why override this in the Dockerfile (furthering our diff with the base image) rather than in the Compose files of stacks that use this image?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we're overriding it anyway. i think this was a compromise with how the test script worked; i could take a different approach there instead.

echo 'Starting iipsrv.fcgi'
echo
spawn-fcgi -n -f /iipsrv/iipsrv.fcgi -p 9000
echo 'Delegating to iipsrv entrypoint'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't really understand why this entrypoint exists. All of the preceding logic around FILESYSTEM_PREFIX/DEFAULT_FILESYSTEM_PREFIX could be handled by setting those values in the compose.ci.yml file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants