From 64914dfe4e5bcaf617d65e9803e38df3d474f2ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Henning?= <soeren.henning@email.uni-kiel.de> Date: Fri, 28 Jan 2022 17:26:54 +0100 Subject: [PATCH] Add pipeline job for docker-compose-jq --- .gitlab-ci.yml | 17 ++++++++++++++++- buildimages/docker-compose-jq/Dockerfile | 6 ++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 buildimages/docker-compose-jq/Dockerfile diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 754e702f1..48aab2c0e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -573,4 +573,19 @@ deploy-random-scheduler: - if: "$CR_HOST && $CR_ORG && $CR_USER && $CR_PW" when: manual allow_failure: true - \ No newline at end of file + +deploy-buildimage-docker-compose-jq: + stage: deploy + extends: + - .kaniko-push + needs: [] + variables: + DOCKER_VERSION: 20.10.12 + IMAGE_TAG: $DOCKER_VERSION + rules: + - changes: + - buildimages/docker-compose-jq/Dockerfile + if: "$CR_HOST && $CR_ORG && $CR_USER && $CR_PW" + - if: "$CR_HOST && $CR_ORG && $CR_USER && $CR_PW && $CI_PIPELINE_SOURCE == web" + when: manual + allow_failure: true \ No newline at end of file diff --git a/buildimages/docker-compose-jq/Dockerfile b/buildimages/docker-compose-jq/Dockerfile new file mode 100644 index 000000000..e6f43595d --- /dev/null +++ b/buildimages/docker-compose-jq/Dockerfile @@ -0,0 +1,6 @@ +FROM docker:${DOCKER_VERSION:-latest} + +RUN apk update && \ + apk add -U jq && \ + apk add py-pip python3-dev libffi-dev openssl-dev gcc libc-dev rust cargo make && \ + pip install docker-compose -- GitLab