Skip to content

Commit

Permalink
Merge pull request #10 from camicroscope/develop
Browse files Browse the repository at this point in the history
For 3.8.4
  • Loading branch information
birm authored Jan 25, 2021
2 parents b92c218 + f7b5278 commit 318c27c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
13 changes: 11 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ RUN ln -s /etc/apache2/mods-available/proxy.conf /etc/apache2/mods-enabled/proxy
COPY apache2.conf /etc/apache2/apache2.conf
COPY ports.conf /etc/apache2/ports.conf


WORKDIR /root/src

### openjpeg version in ubuntu 14.04 is 1.3, too old and does not have openslide required chroma subsampled images support. download 2.1.0 from source and build
Expand Down Expand Up @@ -67,6 +66,16 @@ RUN cp /root/src/iipsrv/src/iipsrv.fcgi /var/www/localhost/fcgi-bin/

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

RUN chgrp -R 0 /root && \
chmod -R g+rwX /root
RUN chgrp -R 0 /var && \
chmod -R g+rwX /var
RUN chgrp -R 0 /run && \
chmod -R g+rwX /run
RUN chgrp -R 0 /etc/apache2 && \
chmod -R g+rwX /etc/apache2

USER 1001

#CMD service apache2 start && while true; do sleep 1000; done
# CMD service apache2 start && while true; do sleep 1000; done
CMD apachectl -D FOREGROUND
2 changes: 1 addition & 1 deletion apache2.conf
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ ServerName localhost
#
# The accept serialization lock file MUST BE STORED ON A LOCAL DISK.
#
Mutex file:${APACHE_LOCK_DIR} default
Mutex file:/var/log default

#
# PidFile: The file in which the server should record its process
Expand Down
6 changes: 3 additions & 3 deletions ports.conf
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Listen 80
Listen 8080

<IfModule ssl_module>
Listen 443
Listen 8443
</IfModule>

<IfModule mod_gnutls.c>
Listen 443
Listen 8443
</IfModule>

0 comments on commit 318c27c

Please sign in to comment.