[librsvg-oci-images/sam/fixes: 2/2] Avoid podman trying to talk to systemd when running in a container



commit 201d014a5940663c0f96fc552af2457547f68aee
Author: Sam Thursfield <sam afuera me uk>
Date:   Sat Dec 14 00:31:49 2019 +0100

    Avoid podman trying to talk to systemd when running in a container
    
    Following https://github.com/containers/libpod/issues/1534, let's try
    passing the `--cgroup-manager=cgroupfs` flag.

 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 37bbd5b..61329d9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -20,7 +20,7 @@ variables:
     # using the vfs driver, and this causes errors.
     - sed -i '/^mountopt =.*/d' /etc/containers/storage.conf
 
-    - podman build --format=docker --pull -f ${DOCKERFILE} -t ${IMAGE} ${CONTEXT_DIR}
+    - podman build --cgroup-manager=cgroupfs --format=docker --pull -f ${DOCKERFILE} -t ${IMAGE} 
${CONTEXT_DIR}
     - |
       if [ "$CI_COMMIT_REF_NAME" = "master" ]; then
           podman push ${IMAGE}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]