From c71d8168fa3ffca8692957d3f4136c7b9db2014d Mon Sep 17 00:00:00 2001 From: Jamie Fletcher Date: Fri, 8 Jan 2021 13:04:43 +0100 Subject: [PATCH] jenkins install docker.io and docker-compose - fix #4 --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 695ed2f..7b0281a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -27,7 +27,7 @@ pipeline { docker-ce \ docker-ce-cli \ containerd.io' - sh 'groupadd docker && usermod -aG docker $USER' + sh 'usermod -aG docker $USER' sh 'curl -L "https://github.com/docker/compose/releases/download/1.27.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose' sh 'chmod +x /usr/local/bin/docker-compose' sh '/usr/local/bin/docker-compose build ffmpeg-1'