Skip to content

Commit 1b503d2

Browse files
committed
Set USE_PYTHON_312 to true when building Kayobe image
Epoxy Kayobe requires python3.10 or later
1 parent 31a3eed commit 1b503d2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ansible/files/multinode.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,13 +257,15 @@ function build_kayobe_image() {
257257

258258
# Set base image for kayobe container. Use rocky 9 by default
259259
export BASE_IMAGE=rockylinux:9
260+
export USE_PYTHON_312=true
260261

261262
if [[ "$(sudo docker image ls)" == *"kayobe"* ]]; then
262263
echo "Image already exists skipping docker build"
263264
else
264265
sudo DOCKER_BUILDKIT=1 docker build \
265266
--network host \
266267
--build-arg BASE_IMAGE=$BASE_IMAGE \
268+
--build-arg USE_PYTHON_312=$USE_PYTHON_312 \
267269
--file ${config_directories[kayobe]}/.automation/docker/kayobe/Dockerfile \
268270
--tag kayobe:latest \
269271
${config_directories[kayobe]}

0 commit comments

Comments
 (0)