Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit dc4544c

Browse files
Merge pull request #2 from aws-samples/fix-platform
Added platform to Dockerfile
2 parents 62660f4 + 5974198 commit dc4544c

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)

AltStyle によって変換されたページ (->オリジナル) /