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

Merge branch 'master' of gitlab.utc.fr:picasoft/projets/dockerfiles [skip ci]

parents 2017f171 4aca4fd0
No related branches found
No related tags found
No related merge requests found
Pipeline #54536 skipped
......@@ -120,6 +120,7 @@ clair:
# Run docker-bench-security and upload the results
docker-bench-security:
stage: security-tests
tags: [build]
script:
# Change the Docker Compose to use the "testing" image, not yet pushed on production registry
- sed -i -e "s|$MODIFIED_IMAGE_FULL|$MODIFIED_IMAGE_FULL_TEST|g" $MODIFIED_IMAGE/docker-compose.yml
......
......@@ -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