File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM public.ecr.aws/lambda/provided:al2 as builder
1+ FROM public.ecr.aws/lambda/provided:al2023 AS builder
22
33ARG php_version="?.?.?"
44ARG xp_version="?.?.?"
55
6- RUN yum clean all && yum install -y \
6+ RUN dnf clean all && dnf install -y \
77 autoconf \
88 gcc \
99 gcc-c++ \
Original file line number Diff line number Diff line change 11ARG php_version="?.?.?"
22ARG xp_version="?.?.?"
33
4- FROM lambda-xp-runtime:${php_version} as build
4+ FROM lambda-xp-runtime:${php_version} AS build
55
6- FROM public.ecr.aws/lambda/provided:al2
6+ FROM public.ecr.aws/lambda/provided:al2023
77
88COPY --from=build /opt/php/bin/ /opt/bin/
99
@@ -14,8 +14,9 @@ RUN echo $'#!/bin/sh\n\n\
1414export _HANDLER="$1"\n\
1515/usr/local/bin/aws-lambda-rie /var/runtime/bootstrap --log-level error &\n\
1616pid=$!\n\
17- curl -s "http://localhost:8080/2015-03-31/functions/function/invocations" -d "$2"\n\
17+ timeout 10 sh -c "until cat < /dev/null > /dev/tcp/127.0.0.1/9001 ; do sleep 0.1; done" 2>/dev/null\n\
18+ curl -s "http://127.0.0.1:8080/2015-03-31/functions/function/invocations" -d "$2"\n\
1819kill -2 $pid\n\
1920echo' > /lambda-entrypoint.sh
2021
21- ENV TZ UTC
22+ ENV TZ= UTC
You can’t perform that action at this time.
0 commit comments