Skip to content

Commit d38ec6d

Browse files
committed
Create Dockerfile
1 parent a1d1362 commit d38ec6d

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

Dockerfile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
FROM gcc:latest
2+
3+
RUN apt update && \
4+
apt install -y \
5+
cmake \
6+
libmagick++-dev
7+
8+
COPY . /usr/src/ktools
9+
WORKDIR /usr/src/ktools
10+
11+
# Small fix of the KTools::inverseOf() return type
12+
# https://github.com/nsimplex/ktools/pull/13
13+
RUN curl -o fix-inverseOf.patch \
14+
https://github.com/nsimplex/ktools/commit/47f38381671e03455eab193a1d3a88e11666af99.patch && \
15+
patch -p1 < fix-inverseOf.patch
16+
17+
RUN ./configure && \
18+
make && \
19+
make install

0 commit comments

Comments
 (0)