Bump version

This commit is contained in:
Patrick Jentsch 2020-04-06 09:23:49 +02:00
parent d2b59ffc5d
commit 926ded985a

View File

@ -1,4 +1,12 @@
FROM debian:stretch-slim FROM debian:10-slim
LABEL maintainer="inf_sfb1288@lists.uni-bielefeld.de"
ENV LANG=C.UTF-8
ENV PLATFORM=linux-64
ENV SITE=standard
EXPOSE 4877 EXPOSE 4877
@ -14,27 +22,29 @@ WORKDIR /root
# Installation: IMS Open Corpus Workbench # Installation: IMS Open Corpus Workbench
RUN svn -q export http://svn.code.sf.net/p/cwb/code/cwb/trunk cwb && \ RUN svn -q export http://svn.code.sf.net/p/cwb/code/cwb/trunk cwb \
cd cwb && \ && cd cwb \
echo "PLATFORM=linux-64\nSITE=standard" | cat - config.mk > temp && mv temp config.mk && \ && make clean \
make clean && \ && make depend \
make depend && \ && make all \
make all && \ && make install \
make install && \ && cd .. \
cd .. && rm -r cwb
# Installation: Perl CWB package # Installation: Perl CWB package
RUN echo "yes" | cpan HTML::Entities && \ RUN echo "yes" | cpan HTML::Entities \
svn -q export http://svn.code.sf.net/p/cwb/code/perl/trunk/CWB perl-cwb && \ && svn -q export http://svn.code.sf.net/p/cwb/code/perl/trunk/CWB perl-cwb \
cd perl-cwb && \ && cd perl-cwb \
perl Makefile.PL && \ && perl Makefile.PL \
make && \ && make \
make test && \ && make test \
make install && \ && make install \
cd .. && cd .. \
&& rm -r perl-cwb
COPY docker-entrypoint.sh /usr/local/bin/ COPY docker-entrypoint.sh /usr/local/bin/
ENTRYPOINT ["docker-entrypoint.sh"] ENTRYPOINT ["docker-entrypoint.sh"]