Skip to content

Commit 46adc55

Browse files
authored
Fix centos and ubuntu integ tests (#111)
1 parent 33cfa94 commit 46adc55

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

test/integration/codebuild/buildspec.os.centos.yml

-2
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,8 @@ batch:
1414
env:
1515
variables:
1616
DISTRO_VERSION:
17-
- "stream8"
1817
- "stream9"
1918
RUNTIME_VERSION:
20-
- "16"
2119
- "18"
2220
- "20"
2321
phases:

test/integration/docker/Dockerfile.echo.centos

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ FROM quay.io/centos/centos:${DISTRO_VERSION} AS node-centos
99
# Include global arg in this stage of the build
1010
ARG RUNTIME_VERSION
1111
# Install NodeJS
12-
RUN curl -sL https://rpm.nodesource.com/setup_${RUNTIME_VERSION}.x | bash - && \
12+
RUN yum module enable -y nodejs:${RUNTIME_VERSION} && \
1313
yum install -y nodejs
1414

1515

test/integration/docker/Dockerfile.echo.ubuntu

+2-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ RUN apt-get update && \
3434
automake \
3535
libtool \
3636
wget \
37-
libcurl4-openssl-dev
37+
libcurl4-openssl-dev \
38+
python3
3839
# Install a modern CMake
3940
RUN wget --quiet -O cmake-install https://github.com/Kitware/CMake/releases/download/v3.20.0/cmake-3.20.0-linux-${ARCHITECTURE}.sh && \
4041
sh cmake-install --skip-license --prefix=/usr --exclude-subdirectory;

0 commit comments

Comments
 (0)