Skip to content

Commit 833a536

Browse files
fixed ubuntu
1 parent fa284c9 commit 833a536

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

tests/integration/codebuild/buildspec.os.alpine.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@ batch:
1515
env:
1616
variables:
1717
DISTRO_VERSION:
18+
- "3.19"
1819
- "3.20"
19-
# pick latest
20-
- ""
2120
RUNTIME_VERSION:
2221
- "3.8"
2322
- "3.9"
@@ -71,6 +70,7 @@ phases:
7170
- set -x
7271
- echo "Running Image ${IMAGE_TAG}"
7372
- docker network create "${TEST_NAME}-network"
73+
- PYTHON_LOCATION=${PYTHON_LOCATION}${RUNTIME_VERSION}
7474
- >
7575
docker run \
7676
--detach \

tests/integration/codebuild/buildspec.os.amazonlinux.2.yml

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ batch:
1717
DISTRO_VERSION:
1818
- "2"
1919
RUNTIME_VERSION:
20-
- "3.7"
2120
- "3.8"
2221
- "3.9"
2322
- "3.10"

tests/integration/codebuild/buildspec.os.ubuntu.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ batch:
1515
env:
1616
variables:
1717
DISTRO_VERSION:
18-
- "20.04"
1918
- "22.04"
19+
- "24.04"
2020
RUNTIME_VERSION:
2121
- "3.8"
2222
- "3.9"

tests/integration/docker/Dockerfile.echo.alpine

+4-1
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,17 @@ FROM public.ecr.aws/docker/library/python:${RUNTIME_VERSION}-alpine${DISTRO_VERS
99
RUN apk add --no-cache \
1010
libstdc++
1111

12+
# https://github.com/aws/aws-lambda-python-runtime-interface-client/issues/144
13+
RUN echo https://dl-cdn.alpinelinux.org/alpine/v3.19/main >> /etc/apk/repositories
14+
RUN echo https://dl-cdn.alpinelinux.org/alpine/v3.19/community >> /etc/apk/repositories
1215

1316
# Stage 2 - build function and dependencies
1417
FROM python-alpine AS build-image
1518
# Install aws-lambda-cpp build dependencies
1619
RUN apk add --no-cache \
1720
build-base \
1821
libtool \
19-
autoconf \
22+
autoconf=2.71-r2 \
2023
automake \
2124
elfutils-dev \
2225
make \

0 commit comments

Comments
 (0)