GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Merge pull request #28 from xp-forge/migrate/al-2023 · xp-forge/lambda@4b2d378

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src/main/php/xp/lambda
    • Dockerfile.runtime
    • Dockerfile.test
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/main/php/xp/lambda/Dockerfile.runtime‎

Copy file name to clipboardExpand all lines: src/main/php/xp/lambda/Dockerfile.runtime
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
FROM public.ecr.aws/lambda/provided:al2 as builder
1+
FROM public.ecr.aws/lambda/provided:al2023 AS builder
22

33
ARG php_version="?.?.?"
44
ARG 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++ \
Collapse file

‎src/main/php/xp/lambda/Dockerfile.test‎

Copy file name to clipboard
+5-4Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
ARG php_version="?.?.?"
22
ARG 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

88
COPY --from=build /opt/php/bin/ /opt/bin/
99

@@ -14,8 +14,9 @@ RUN echo $'#!/bin/sh\n\n\
1414
export _HANDLER="$1"\n\
1515
/usr/local/bin/aws-lambda-rie /var/runtime/bootstrap --log-level error &\n\
1616
pid=$!\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\
1819
kill -2 $pid\n\
1920
echo' > /lambda-entrypoint.sh
2021

21-
ENV TZ UTC
22+
ENV TZ=UTC

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.