Commit 5fe9a27d authored by therealwa3er's avatar therealwa3er
Browse files

change docker service to dind container

parent 93718532
Pipeline #51 failed
image: docker:latest
image: docker
service:
#use docker in docker container
- docker:dind
before_script:
- docker info
- apk update
- apk upgrade
- apk add python python-dev py-pip build-base
- pip install docker-compose
#add docker compose into docker in docker image
- docker info
- apk update
- apk upgrade
- apk add python python-dev py-pip build-base
- pip install docker-compose
stages:
- build
......@@ -13,9 +18,11 @@ stages:
build:
script:
# run docker compose
- docker-compose -f docker/docker-compose.yml up -d
test:
script:
#run Phpunit test
- docker exec -it -w //var/www/html/alecsia/app docker_alecsia_1 ./../vendor/bin/phpunit
\ No newline at end of file
Markdown is supported
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