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
This commit is contained in:
Pierre Riteau 2021-05-20 18:33:53 +02:00
parent 74ad064fba
commit 062cb7576a
1 changed files with 1 additions and 1 deletions

View File

@ -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" ] && \