Skip to content

Commit 5974198

Browse files
committedMay 9, 2022
Added platform to Dockerfile
1 parent 62660f4 commit 5974198

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
 

‎Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM amazonlinux:2
1+
FROM --platform=linux/amd64 amazonlinux:2
22

33
# Add the Amazon Corretto repository
44
RUN rpm --import https://yum.corretto.aws/corretto.key

‎README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AWS Lambda custom runtime with Java 18
22
An AWS Lambda custom runtime to enable Java 18 support on a minimalistic JRE, which only includes the Java modules required by the application.
3+
This is the example repository for the [Build a custom Java runtime for AWS Lambda](https://aws.amazon.com/blogs/compute/build-a-custom-java-runtime-for-aws-lambda/) blog post.
34

45
![overview](docs/overview.png)
56

0 commit comments

Comments
 (0)
Please sign in to comment.