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: I43e86ff631034bc6b35fedbc30b72282b5d3b7c8
This commit is contained in:
parent
db200fd98b
commit
844db67a91
@ -3,7 +3,7 @@
|
|||||||
set -x # Print each script step.
|
set -x # Print each script step.
|
||||||
set -eo pipefail # Exit the script if any statement returns error.
|
set -eo pipefail # Exit the script if any statement returns error.
|
||||||
|
|
||||||
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/"
|
cd "$(dirname "$REAL_PATH")/../docker/"
|
||||||
|
|
||||||
BASE_GIT_COMMIT=$(git rev-parse --verify HEAD)
|
BASE_GIT_COMMIT=$(git rev-parse --verify HEAD)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user