From 6740f6fa208042e6986a81d6cf5d4006e41e43ec Mon Sep 17 00:00:00 2001 From: Max Magorsch Date: Tue, 3 Mar 2020 04:47:49 +0100 Subject: Split the planet and container update The planet data and container image can be updated seperately now. The container image may not be updated as regular as the planet data. Signed-off-by: Max Magorsch --- update-planet.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 update-planet.sh (limited to 'update-planet.sh') diff --git a/update-planet.sh b/update-planet.sh new file mode 100755 index 0000000..7e4792f --- /dev/null +++ b/update-planet.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +USER=${1:-gplanet} +GROUP=${2:-gplanet} + +mkdir -p htdocs data +chown -R $USER:$GROUP htdocs data + +docker run --privileged \ + --mount type=bind,source="$(pwd)"/htdocs,target=/var/www/planet.gentoo.org/build \ + --mount type=bind,source="$(pwd)"/data,target=/var/www/planet.gentoo.org/data \ + gentoo/planet-pluto:latest -- cgit v1.2.3-18-g5258