Commit d7d2fa70 authored by Sebastien Moretti's avatar Sebastien Moretti
Browse files

Add missing requirements + Clone UCNEbase_web.git

parent edc9f482
......@@ -3,6 +3,7 @@ TODO
- Apache without SSL/HTTPS and mod_security in the container
- Apache different ports for each base, e.g. 8081 for UCNEbase, 8082 for EPD
- MySQL conf in a container?
- Send e-mails from the container?
- /data/download/clusters/galGal3_subclusters.txt is missing
- Set local all external JS/CSS calls
- How to set https certificate in the container???
......
......@@ -27,13 +27,16 @@ ENV USER=ucnebase
RUN echo '# OS update' \
&& yum update -y \
&& echo '# Install OS requirements' \
&& yum install -y perl httpd wget git php-mysqlnd \
&& yum install -y perl perl-CGI httpd postfix wget git php-mysqlnd \
&& wget 'https://dev.mysql.com/get/mysql80-community-release-el7-5.noarch.rpm' \
&& rpm -ivh *.rpm \
&& rm -f *.rpm \
&& yum install -y mysql-community-server \
&& echo '# Install UCNEbase' \
&& cd /usr/local/ \
&& git clone https://gitlab.sib.swiss/EPD/UCNEbase_web.git UCNEbase_web.git \
&& cd UCNEbase_web.git/ \
&& rm -Rf OLD/ .git* docker/ \
&& echo '# CLEANING' \
&& echo '## So try to remove manually useless stuff' \
&& yum remove -y wget git *-devel gcc \
......
......@@ -12,7 +12,7 @@
# Build Docker image
export UCNEBASE_VERSION=0.0.1
docker build -t ucnebase:$UCNEBASE_VERSION --no-cache=true --build-arg BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ') --build-arg UCNEBASE_VERSION=$UCNEBASE_VERSION -f Dockerfile . 2>&1 >UCNEbase.Dockerfile.log
docker build -t ucnebase:$UCNEBASE_VERSION --no-cache=true --build-arg BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ') --build-arg UCNEBASE_VERSION=$UCNEBASE_VERSION -f Dockerfile . # 2>&1 >UCNEbase.Dockerfile.log
# List Docker local images (imported or built)
docker images
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment