Skip to content

Commit 19750c2

Browse files
committed
update examples to use v0.3.0
1 parent a01f739 commit 19750c2

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

examples/expressjs-zip/hello-world/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const app = express()
33
const port = process.env['PORT'] || 8080
44

55

6-
app.get('/', (req, res) => {
6+
app.get('/Prod', (req, res) => {
77
res.send('Hi there!')
88
})
99

examples/expressjs/app/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FROM public.ecr.aws/docker/library/node:16.13.2-stretch-slim
2-
COPY --from=public.ecr.aws/awsguru/aws-lambda-adapter:0.2.0 /opt/extensions/lambda-adapter /opt/extensions/lambda-adapter
2+
COPY --from=public.ecr.aws/awsguru/aws-lambda-adapter:0.3.0 /opt/extensions/lambda-adapter /opt/extensions/lambda-adapter
33
EXPOSE 8080
44
WORKDIR "/var/task"
55
ADD src/package.json /var/task/package.json

examples/flask/app/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FROM public.ecr.aws/docker/library/python:3.8.12-slim-buster
2-
COPY --from=public.ecr.aws/awsguru/aws-lambda-adapter:0.2.0 /opt/extensions/lambda-adapter /opt/extensions/lambda-adapter
2+
COPY --from=public.ecr.aws/awsguru/aws-lambda-adapter:0.3.0 /opt/extensions/lambda-adapter /opt/extensions/lambda-adapter
33
WORKDIR /var/task
44
COPY app.py requirements.txt ./
55
RUN python -m pip install -r requirements.txt

examples/nginx/app/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FROM public.ecr.aws/docker/library/nginx:1.21.6
2-
COPY --from=public.ecr.aws/awsguru/aws-lambda-adapter:0.2.0 /opt/extensions/lambda-adapter /opt/extensions/lambda-adapter
2+
COPY --from=public.ecr.aws/awsguru/aws-lambda-adapter:0.3.0 /opt/extensions/lambda-adapter /opt/extensions/lambda-adapter
33
WORKDIR "/tmp"
44
ADD config/ /etc/nginx/
55
ADD images/ /usr/share/nginx/html/images

examples/php/docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM public.ecr.aws/amazonlinux/amazonlinux:2.0.20220121.0
22

3-
COPY --from=public.ecr.aws/awsguru/aws-lambda-adapter:0.2.0 /opt/extensions/lambda-adapter /opt/extensions/lambda-adapter
3+
COPY --from=public.ecr.aws/awsguru/aws-lambda-adapter:0.3.0 /opt/extensions/lambda-adapter /opt/extensions/lambda-adapter
44

55
RUN amazon-linux-extras install -y nginx1 php7.4 && yum clean all && rm -rf /var/cache/yum
66

examples/springboot/app/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ COPY pom.xml ./
55
RUN mvn -q clean package
66

77
FROM public.ecr.aws/docker/library/amazoncorretto:8u322-al2
8-
COPY --from=public.ecr.aws/awsguru/aws-lambda-adapter:0.2.0 /opt/extensions/lambda-adapter /opt/extensions/lambda-adapter
8+
COPY --from=public.ecr.aws/awsguru/aws-lambda-adapter:0.3.0 /opt/extensions/lambda-adapter /opt/extensions/lambda-adapter
99
EXPOSE 8080
1010
WORKDIR /opt
1111
COPY --from=build-image /task/target/petstore-0.0.1-SNAPSHOT.jar /opt

0 commit comments

Comments
 (0)