Commit 33da23ea authored by jlopez's avatar jlopez
Browse files

Update dockerfile for v0.3

parent b2557fd3
FROM alpine:3.9
MAINTAINER remyd1 - https://github.com/remyd1
LABEL Author remyd1 - https://github.com/remyd1
RUN apk --update add php-apache2 php7-session php7-mysqli && rm -f /var/cache/apk/*
RUN mkdir /app && cd /app && \
wget https://gitlab.mbb.univ-montp2.fr/jlopez/wicopa/-/archive/v0.2/wicopa-v0.2.tar.gz && \
tar -xf wicopa-v0.2.tar.gz && ln -s wicopa-v0.2 wicopa && \
wget https://gitlab.mbb.univ-montp2.fr/jlopez/wicopa/-/archive/v0.3/wicopa-v0.3.tar.gz && \
tar -xf wicopa-v0.3.tar.gz && ln -s wicopa-v0.3 wicopa && \
cp wicopa/conf/Conf.php.sample wicopa/conf/Conf.php && \
chown -R apache:apache /app && \
sed -i "s#DB_NAME = ''#DB_NAME = 'wicopa'#" wicopa/conf/Conf.php && \
......
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