You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,16 @@ It will start lambda runtime client after receiving 200 response from the applic
19
19
## How to build it?
20
20
21
21
AWS Lambda Adapter is written in Rust and based on [AWS Lambda Rust Runtime](https://github.com/awslabs/aws-lambda-rust-runtime).
22
-
AWS Lambda executes functions in x86_64 Amazon Linux Environment. We need to cross compile the adapter to that environment.
22
+
AWS Lambda executes functions in x86_64 Amazon Linux Environment. We need to compile the adapter to that environment.
23
+
24
+
### Compiling with Docker
25
+
On x86_64 Windows, Linux and macOS, you can run one command to compile Lambda Adapter with docker. The Dockerfile is [here](Dockerfile.x86).
26
+
27
+
```shell
28
+
$ make build
29
+
```
30
+
31
+
Once the build completes, it creates a docker image called "aws-lambda-adapter:latest". AWS Lambda Adapter binary is packaged as '/opt/bootstrap' inside the docker image.
On x86_64 Windows, Linux and macOS, you can run one command to compile Lambda Adapter with docker.
65
-
66
-
```shell
67
-
$ make build
68
-
```
69
-
70
-
Once the build completes, it creates a docker image called "aws-lambda-adapter:latest". AWS Lambda Adapter binary is packaged as '/opt/bootstrap' inside the docker image.
71
-
72
72
## How to use it?
73
73
74
74
To use it, copy the bootstrap binary to your container, and use it as ENTRYPOINT.
0 commit comments