Skip to content

Commit

Permalink
Improve Cantaloupe dockerfile documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
dchiller committed Feb 1, 2024
1 parent 81b62c7 commit 6d6415b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cantaloupe/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,15 @@ ENV JAVA_HOME=/opt/java/openjdk
ENV PATH="${JAVA_HOME}/bin:${PATH}"

# Install various dependencies:
# - unzip for unpacking the Cantaloupe jars
# - wget for downloading the OpenJPEG + Cantaloupe files
RUN apt-get update && apt-get install -y \
unzip \
wget

# Download OpenJPEG binaries and unpack them:
# Download OpenJPEG binaries and unpack them.
# OpenJPEG is a dependency when we want Cantaloup
# to server jpeg and jpeg2000 images.
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 && \
Expand Down

0 comments on commit 6d6415b

Please sign in to comment.