Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quick fix: Gottschalk reconstruction #821

Merged
merged 11 commits into from
Feb 1, 2024
Merged
1 change: 1 addition & 0 deletions app/public/cantusdata/helpers/postprocess_iiif.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Customizations for certain IIIF manifests that will not work as provided"""

import urllib


Expand Down
28 changes: 28 additions & 0 deletions cantaloupe/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
FROM eclipse-temurin:17-jre AS jre-base

ENV JAVA_HOME=/opt/java/openjdk
ENV PATH="${JAVA_HOME}/bin:${PATH}"

# Install various dependencies:
RUN apt-get update && apt-get install -y \
unzip \
wget

# Download OpenJPEG binaries and unpack them:
dchiller marked this conversation as resolved.
Show resolved Hide resolved
RUN mkdir /opt/openjpeg && mkdir /opt/openjpeg/openjpeg-2.5.0
WORKDIR /opt/openjpeg
RUN wget https://github.com/uclouvain/openjpeg/releases/download/v2.5.0/openjpeg-v2.5.0-linux-x86_64.tar.gz && \
tar -xzf openjpeg-v2.5.0-linux-x86_64.tar.gz && \
rm openjpeg-v2.5.0-linux-x86_64.tar.gz && \
mv openjpeg-v2.5.0-linux-x86_64/* openjpeg-2.5.0

# Download Cantaloupe JARs and unpack them:
RUN mkdir /opt/cantaloupe
WORKDIR /opt/cantaloupe
RUN wget https://github.com/cantaloupe-project/cantaloupe/releases/download/v5.0.5/cantaloupe-5.0.5.zip && \
unzip cantaloupe-5.0.5.zip && \
rm cantaloupe-5.0.5.zip

COPY ./cantaloupe.properties /etc/cantaloupe/cantaloupe.properties

EXPOSE 8182
Loading
Loading