Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM gcc:latest

RUN apt update && \
apt install -y \
cmake \
libmagick++-dev

COPY . /usr/src/ktools
WORKDIR /usr/src/ktools

# Small fix of the KTools::inverseOf() return type
# https://github.com/nsimplex/ktools/pull/13
RUN curl -o fix-inverseOf.patch \
https://github.com/nsimplex/ktools/commit/47f38381671e03455eab193a1d3a88e11666af99.patch && \
patch -p1 < fix-inverseOf.patch

RUN ./configure && \
make && \
make install