forked from openslide/openslide
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
37 lines (31 loc) · 927 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
FROM ubuntu:18.04
LABEL maintainer="KML VISION, devops@kmlvision.com"
RUN apt-get update -qq && \
apt-get install -y \
wget \
libz-dev \
libjpeg-dev \
libopenjp2-7-dev \
libtiff-dev \
libglib2.0-dev \
libcairo-dev \
libpng-dev \
libgdk-pixbuf2.0-dev \
libxml2-dev \
libsqlite3-dev \
libzip-dev \
valgrind \
autoconf \
automake \
libtool \
pkg-config \
cmake
# install libzip > 1.1 (required for VMIC support)
RUN cd /tmp && wget https://libzip.org/download/libzip-1.5.1.tar.gz && tar xzf libzip-1.5.1.tar.gz && cd libzip-1.5.1 && mkdir build && cd build && cmake .. && make && make install
RUN mkdir -p /opt/openslide
COPY . /opt/openslide
WORKDIR /opt/openslide
RUN autoreconf -i && ./configure && make && make install && ldconfig
# test if it worked
RUN openslide-show-properties --version
CMD ["/bin/bash"]