From 02de5683288480c6e80580a49641a35edee9b96f Mon Sep 17 00:00:00 2001
From: Moritz Maxeiner <moritz@ucworks.org>
Date: Tue, 11 Sep 2018 14:07:56 +0200
Subject: [PATCH] Workaround gitlab runner bug gitlab-runner refuses to
 actually use its userns=host option making any jobs requiring privileged mode
 fail. Use shell executor instead.

---
 .gitlab-ci.yml | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a6f8db0..e5975f0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,16 +1,9 @@
 stages:
   - build
 
-variables:
-  GIT_SUBMODULE_STRATEGY: recursive
-
-services:
-  - docker:dind
-
 build-ubuntu-18.04:
   stage: build
-  tags: [ linux, docker, privileged ]
-  image: docker:latest
+  tags: [ linux, shell ]
   before_script:
     - echo "${CI_REGISTRY_PASSWORD}" | docker login -u "${CI_REGISTRY_USER}" "${CI_REGISTRY}" --password-stdin
   script:
-- 
GitLab