From 062cb7576a574d5fd12f75bea351e6381b19a5a1 Mon Sep 17 00:00:00 2001 From: Pierre Riteau Date: Thu, 20 May 2021 18:33:53 +0200 Subject: [PATCH] Fix Docker build The default nodeset was just changed to focal [1], which in the absence of the python-is-python3 package doesn't provide a python binary. [1] https://review.opendev.org/c/opendev/base-jobs/+/789098 Change-Id: I55924ec1721181f8301357729df5d2c4abcad892 --- docker/build_image.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/build_image.sh b/docker/build_image.sh index e49f137..fc0b18b 100755 --- a/docker/build_image.sh +++ b/docker/build_image.sh @@ -45,7 +45,7 @@ set -eo pipefail # Exit the script if any statement returns error. # $ ./build_image.sh master master refs/changes/19/595719/3 # Go to folder with Docker files. -REAL_PATH=$(python -c "import os,sys; print(os.path.realpath('$0'))") +REAL_PATH=$(python3 -c "import os,sys; print(os.path.realpath('$0'))") cd "$(dirname "$REAL_PATH")/../docker/" [ -z "$DOCKER_IMAGE" ] && \