Skip to content
Snippets Groups Projects
Verified Commit 0f8e61b7 authored by Quentin Duchemin's avatar Quentin Duchemin
Browse files

[Dokuwiki] Extract new version in another folder

parent c8e14e7a
No related branches found
No related tags found
No related merge requests found
Pipeline #54488 canceled
......@@ -50,7 +50,8 @@ fi
echo -e "\n==== Remove and re-create named external volumes ===="
for v in $(docker-compose config --volumes); do
docker volume rm "$v"
# Don't fail if volume does not exists
docker volume rm "$v" || true
docker volume create "$v"
done
......
......@@ -22,7 +22,8 @@ RUN apt-get update -y && \
sed -i -e "s|;listen\.group\s*=\s*|listen.group = |g" /etc/php/7.3/fpm/pool.d/www.conf && \
sed -i -e "s|;listen\.mode\s*=\s*|listen.mode = |g" /etc/php/7.3/fpm/pool.d/www.conf && \
wget -O dokuwiki.tgz "https://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz" && \
tar -xzf dokuwiki.tgz -C html --strip-components 1 && \
mkdir update && \
tar -xzf dokuwiki.tgz -C update --strip-components 1 && \
rm -f dokuwiki.tgz && \
chown -R www-data . && \
chmod +x /run.sh && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment