diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c5f427f..b3efa32 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,10 +7,22 @@ include: - template: Security/SAST.gitlab-ci.yml - template: Code-Quality.gitlab-ci.yml + +# See https://forum.gitlab.com/t/docker-dind-stops-working-after-12-1-0-update/28664/3 +services: + - name: docker:dind + entrypoint: ["env", "-u", "DOCKER_HOST"] + command: ["dockerd-entrypoint.sh"] + variables: SECURE_LOG_LEVEL: "debug" SAST_JAVA_VERSION: 11 + DOCKER_HOST: tcp://docker:2375/ + DOCKER_DRIVER: overlay2 + # See https://github.com/docker-library/docker/pull/166 + DOCKER_TLS_CERTDIR: "" + # This will suppress any download for dependencies and plugins or upload messages which would clutter the console log. # `showDateTime` will show the passed time in milliseconds. You need to specify `--batch-mode` to make this work. MAVEN_OPTS: " \