From 383b3da26f4c57165c3aa0f6817ca767f17a7f6a Mon Sep 17 00:00:00 2001 From: Andrea Culot Date: Mon, 26 Jun 2023 14:20:39 +0100 Subject: [PATCH] Use python3.8 in al2 integ tests --- test/integration/docker/Dockerfile.echo.amazonlinux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/docker/Dockerfile.echo.amazonlinux b/test/integration/docker/Dockerfile.echo.amazonlinux index 28a77e47..61fe15c1 100644 --- a/test/integration/docker/Dockerfile.echo.amazonlinux +++ b/test/integration/docker/Dockerfile.echo.amazonlinux @@ -10,7 +10,7 @@ FROM amazonlinux:${DISTRO_VERSION} AS node-amazonlinux ARG RUNTIME_VERSION ARG DISTRO_VERSION # Install Py3 required to build Node16+ -RUN if [[ "${DISTRO_VERSION}" == "2" ]] ; then amazon-linux-extras install python3 ; fi +RUN if [[ "${DISTRO_VERSION}" == "2" ]] ; then amazon-linux-extras install python3.8 && update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1 ; fi # Install NodeJS RUN curl -sL https://rpm.nodesource.com/setup_${RUNTIME_VERSION}.x | bash - && \ yum install -y nodejs