Skip to content

Commit b92c218

Browse files
authored
Merge pull request #5 from camicroscope/release
Release
2 parents 9709e37 + 63b6ea4 commit b92c218

173 files changed

Lines changed: 64135 additions & 22 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Dockerfile

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:14.04
1+
FROM ubuntu:bionic
22

33
### update
44
RUN apt-get -q update
@@ -7,24 +7,14 @@ RUN apt-get -q -y dist-upgrade
77
RUN apt-get clean
88
RUN apt-get -q update
99

10-
RUN apt-get -q -y install openssh-server git autoconf automake make libtool pkg-config cmake apache2 libapache2-mod-fcgid libfcgi0ldbl
11-
RUN apt-get -q -y install zlib1g-dev libpng12-dev libjpeg-dev libtiff5-dev libgdk-pixbuf2.0-dev libxml2-dev libsqlite3-dev libcairo2-dev libglib2.0-dev
12-
RUN apt-get -q -y install g++ libmemcached-dev libjpeg-turbo8-dev
10+
RUN apt-get -q -y install openssh-server git autoconf automake make libtool pkg-config cmake apache2 libapache2-mod-fcgid libfcgi0ldbl zlib1g-dev libpng-dev libjpeg-dev libtiff5-dev libgdk-pixbuf2.0-dev libxml2-dev libsqlite3-dev libcairo2-dev libglib2.0-dev g++ libmemcached-dev libjpeg-turbo8-dev
1311
RUN a2enmod rewrite
1412
RUN a2enmod fcgid
1513

16-
WORKDIR /images
17-
VOLUME ["/images"]
18-
1914
RUN mkdir /root/src
2015
COPY . /root/src
2116
WORKDIR /root/src
2217

23-
24-
## get our configuration files
25-
WORKDIR /root/src
26-
#RUN git clone https://tcpan@bitbucket.org/tcpan/iip-openslide-docker.git
27-
2818
## replace apache's default fcgi config with ours.
2919
RUN rm /etc/apache2/mods-enabled/fcgid.conf
3020
COPY ./fcgid.conf /etc/apache2/mods-enabled/fcgid.conf
@@ -38,9 +28,6 @@ RUN ln -s /etc/apache2/mods-available/proxy.conf /etc/apache2/mods-enabled/proxy
3828
COPY apache2.conf /etc/apache2/apache2.conf
3929
COPY ports.conf /etc/apache2/ports.conf
4030

41-
## setup a mount point for images. - this is external to the docker container.
42-
RUN mkdir -p /mnt/images
43-
4431

4532
WORKDIR /root/src
4633

@@ -69,22 +56,17 @@ RUN make
6956
RUN make install
7057

7158
### iipsrv
72-
WORKDIR /root/src
73-
RUN git clone https://bitbucket.org/tcpan/iipsrv.git iipsrv
74-
75-
## build iipsrv
7659
WORKDIR /root/src/iipsrv
77-
RUN git checkout tags/iip-openslide-v0.3.1
7860
RUN ./autogen.sh
7961
#RUN ./configure --enable-static --enable-shared=no
8062
RUN ./configure
8163
RUN make
82-
8364
## create a directory for iipsrv's fcgi binary
8465
RUN mkdir -p /var/www/localhost/fcgi-bin/
8566
RUN cp /root/src/iipsrv/src/iipsrv.fcgi /var/www/localhost/fcgi-bin/
8667

8768
#COPY apache2-iipsrv-fcgid.conf /root/src/iip-openslide-docker/apache2-iipsrv-fcgid.conf
8869

8970

90-
CMD service apache2 start && while true; do sleep 1000; done
71+
#CMD service apache2 start && while true; do sleep 1000; done
72+
CMD apachectl -D FOREGROUND

iipsrv/AUTHORS

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Ruven Pillay <ruven@users.sourceforge.net>
2+
3+
With help from:
4+
Moravian Library in Brno
5+
Chiara Marmo
6+
Rob "Bubba" Hines
7+
Petr Pridal
8+
Michal Becak
9+
The National Library of Wales
10+
and many others ...

iipsrv/COPYING

Lines changed: 674 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)