From 491818b252800129a4ca3b54f9b65007ba44aa1e Mon Sep 17 00:00:00 2001 From: Simon Chabot Date: Fri, 23 Jul 2021 16:39:01 +0200 Subject: [PATCH] feat(cw): add a script to replace docker cubicweb images by the new cubicweb-base image --- scripts/use-logilab-cubicweb-base-image.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 scripts/use-logilab-cubicweb-base-image.sh diff --git a/scripts/use-logilab-cubicweb-base-image.sh b/scripts/use-logilab-cubicweb-base-image.sh new file mode 100644 index 0000000..f292a44 --- /dev/null +++ b/scripts/use-logilab-cubicweb-base-image.sh @@ -0,0 +1,11 @@ +#!/bin/env bash + +set -x + +sed 's@FROM logilab/cubicweb.*@FROM logilab/cubicweb-base:latest@g' -i Dockerfile || true + +# GITLAB_TOKEN=$(cat token) cube-doctor run-script \ +# -s scripts/use-logilab-cubicweb-base-image.sh \ +# -b use-cw-base-image \ +# -t clients \ +# -c "chore: use cubicweb-base image" -- GitLab