Skip to content

Commit

Permalink
Adding param for kakadu location
Browse files Browse the repository at this point in the history
  • Loading branch information
glenrobson committed May 23, 2023
1 parent 5730f6e commit eeb0604
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion image_server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM ubuntu:jammy

ARG kakadu=./kakadu/current

# Working source root.
ENV _workroot /usr/local/src
# iipsrv version to use (for release build).
Expand All @@ -15,7 +17,7 @@ RUN apt install -y build-essential libopenjp2-7-dev libopenjp2-tools \

# Copy and compile Kakadu codec.
WORKDIR ${_workroot}
COPY ./kakadu/current ./kakadu-sdk
COPY ${kakadu} ./kakadu-sdk
WORKDIR ${_workroot}/kakadu-sdk/make
RUN make -f Makefile-Linux-x86-64-gcc clean
RUN make -f Makefile-Linux-x86-64-gcc all_but_jni
Expand Down

0 comments on commit eeb0604

Please sign in to comment.