Commit c0aa6087 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

docker-build-app.sh : ajout montage du composer.json pour pouvoir modifier les versions requises.

parent e58e013f
Pipeline #3856 passed with stage
in 25 seconds
......@@ -6,22 +6,22 @@ cd ${DIR}/..
docker build --rm -t skeleton-app-7.0 -f Dockerfile-7.0 .
docker rm -f skeleton-app-7.0-container
docker run --rm -d -p 8070:80 -p 8470:443 -v ${PWD}/.phan:/app/.phan --name skeleton-app-7.0-container skeleton-app-7.0
docker run --rm -d -p 8070:80 -p 8470:443 -v ${PWD}/.phan:/app/.phan -v ${PWD}/composer.json:/app/composer.json --name skeleton-app-7.0-container skeleton-app-7.0
docker exec skeleton-app-7.0-container composer update --no-suggest --optimize-autoloader
docker build --rm -t skeleton-app-7.1 -f Dockerfile-7.1 .
docker rm -f skeleton-app-7.1-container
docker run --rm -d -p 8071:80 -p 8471:443 -v ${PWD}/.phan:/app/.phan --name skeleton-app-7.1-container skeleton-app-7.1
docker run --rm -d -p 8071:80 -p 8471:443 -v ${PWD}/.phan:/app/.phan -v ${PWD}/composer.json:/app/composer.json --name skeleton-app-7.1-container skeleton-app-7.1
docker exec skeleton-app-7.1-container composer update --no-suggest --optimize-autoloader
docker build --rm -t skeleton-app-7.2 -f Dockerfile-7.2 .
docker rm -f skeleton-app-7.2-container
docker run --rm -d -p 8072:80 -p 8472:443 -v ${PWD}/.phan:/app/.phan --name skeleton-app-7.2-container skeleton-app-7.2
docker run --rm -d -p 8072:80 -p 8472:443 -v ${PWD}/.phan:/app/.phan -v ${PWD}/composer.json:/app/composer.json --name skeleton-app-7.2-container skeleton-app-7.2
docker exec skeleton-app-7.2-container composer update --no-suggest --optimize-autoloader
docker build --rm -t skeleton-app-7.3 -f Dockerfile-7.3 .
docker rm -f skeleton-app-7.3-container
docker run --rm -d -p 8073:80 -p 8473:443 -v ${PWD}/.phan:/app/.phan --name skeleton-app-7.3-container skeleton-app-7.3
docker run --rm -d -p 8073:80 -p 8473:443 -v ${PWD}/.phan:/app/.phan -v ${PWD}/composer.json:/app/composer.json --name skeleton-app-7.3-container skeleton-app-7.3
docker exec skeleton-app-7.3-container composer update --no-suggest --optimize-autoloader
......
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