Add tty so container does not automatically stop right away

This commit is contained in:
Devon Mackay 2018-08-08 15:18:46 -04:00
parent 60d3379fe7
commit 1fb037a6be

View File

@ -26,7 +26,7 @@ before_script:
script: script:
- docker run --add-host "postgreshost:${postgres_ip}" --add-host "redishost:${redis_ip}" "${TESTER_IMAGE_NAME}" - docker run --add-host "postgreshost:${postgres_ip}" --add-host "redishost:${redis_ip}" "${TESTER_IMAGE_NAME}"
- docker run -d --entrypoint='/bin/sh' --name current-atst-tester "${TESTER_IMAGE_NAME}" - docker run -d --entrypoint='/bin/sh' -t --name current-atst-tester "${TESTER_IMAGE_NAME}"
- docker container exec -t current-atst-tester script/sync-crls - docker container exec -t current-atst-tester script/sync-crls
- docker cp current-atst-tester:crl ./crl - docker cp current-atst-tester:crl ./crl
- docker container stop current-atst-tester - docker container stop current-atst-tester