From 189bff373cd770629e0259a557980f664676d17a Mon Sep 17 00:00:00 2001 From: Gitouche <26656-gitouche@users.noreply.framagit.org> Date: Wed, 2 Mar 2022 22:22:11 +0100 Subject: [PATCH] docker rebuild script : use volume mount instead of "docker cp" --- docker_rpmbuild-rebuild_msmtp.sh | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/docker_rpmbuild-rebuild_msmtp.sh b/docker_rpmbuild-rebuild_msmtp.sh index 901da74..f9a3236 100755 --- a/docker_rpmbuild-rebuild_msmtp.sh +++ b/docker_rpmbuild-rebuild_msmtp.sh @@ -19,18 +19,26 @@ VERSION=$(echo "${JSONLINE}" | sed -e "s/^\s*\"stable\": \"${PACKAGE}-\(.*\)\.fc ARCH=$(${DOCKER} run --rm docker.io/library/rockylinux:8 uname -i) -${DOCKER} build -t docker-${PACKAGE}-build -f- . <