Skip to content
Snippets Groups Projects
Commit acac165d authored by Sebastien Moretti's avatar Sebastien Moretti
Browse files

Update Dockerfile with missing chipseq tools and apache mod

parent e5ab2404
Branches miniEPD
No related tags found
No related merge requests found
......@@ -28,7 +28,14 @@ RUN echo '# OS update' \
&& export DEBIAN_FRONTEND=noninteractive \
&& apt-get update -y \
&& echo '# Install OS requirements' \
&& apt-get install -y --no-install-recommends perl libcgi-pm-perl liblist-moreutils-perl liblist-moreutils-xs-perl wget git mysql-server apache2 ca-certificates php-mysqlnd libapache2-mod-php xz-utils make \
&& apt-get install -y --no-install-recommends perl libcgi-pm-perl liblist-moreutils-perl liblist-moreutils-xs-perl wget git mysql-server apache2 ca-certificates php-mysqlnd libapache2-mod-php xz-utils make gcc libc6-dev \
&& echo '# Install chipseq tools' \
&& cd /usr/local/ \
&& git clone https://gitlab.sib.swiss/EPD/chipseq.git chipseq.git \
&& cd chipseq.git/ \
&& make install-bin \
&& cd .. \
&& rm -rf chipseq.git/ \
&& echo '# Install EPD' \
&& cd /usr/local/ \
&& git clone https://gitlab.sib.swiss/EPD/epd-web.git EPD_web.git \
......@@ -42,6 +49,7 @@ RUN echo '# OS update' \
&& cd mysql/ \
&& echo '# remove unused db' \
&& rm -f Dpulex_epdnew.sql.xz \
&& ls *_epdnew.sql.xz | grep -v S_pombe | xargs rm -f \
&& for sql in *.sql.xz; do mysql -u root -e "CREATE DATABASE ${sql/.sql.xz/}"; done \
&& mysql -u root -e "CREATE USER 'ccgweb'@'localhost' IDENTIFIED BY 'ccgweb'" \
&& mysql -u root -e 'GRANT SELECT ON *.* TO `ccgweb`@`localhost`' \
......@@ -57,6 +65,7 @@ RUN echo '# OS update' \
&& ln -s /usr/local/EPD_web.git/conf/container--EPD.apache.conf /etc/apache2/sites-enabled/ \
&& cd /etc/apache2/mods-enabled/ \
&& ln -s ../mods-available/cgi.load . \
&& ln -s ../mods-available/headers.load . \
&& mkdir -p /var/run/apache2 \
&& . /etc/apache2/envvars \
&& apache2 -t \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment