Skip to content

Commit beef54f

Browse files
authored
Use python3.8 in al2 integ tests (#72)
1 parent e48d19f commit beef54f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/docker/Dockerfile.echo.amazonlinux

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ FROM amazonlinux:${DISTRO_VERSION} AS node-amazonlinux
1010
ARG RUNTIME_VERSION
1111
ARG DISTRO_VERSION
1212
# Install Py3 required to build Node16+
13-
RUN if [[ "${DISTRO_VERSION}" == "2" ]] ; then amazon-linux-extras install python3 ; fi
13+
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
1414
# Install NodeJS
1515
RUN curl -sL https://rpm.nodesource.com/setup_${RUNTIME_VERSION}.x | bash - && \
1616
yum install -y nodejs

0 commit comments

Comments
 (0)