Skip to content

Commit 52e4f75

Browse files
authored
Merge pull request #4 from aws-samples/dev
update README file
2 parents eafc6a8 + 7917baf commit 52e4f75

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,16 @@ It will start lambda runtime client after receiving 200 response from the applic
1919
## How to build it?
2020

2121
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.
2332

2433
### Compiling on macOS
2534

@@ -60,15 +69,6 @@ $ aws ecr-public get-login-password --region us-east-1 | docker login --username
6069
$ DOCKER_BUILDKIT=1 docker build -f Dockerfile.mac -t aws-lambda-adapter:latest .
6170
```
6271

63-
### Compiling with Docker
64-
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-
7272
## How to use it?
7373

7474
To use it, copy the bootstrap binary to your container, and use it as ENTRYPOINT.

0 commit comments

Comments
 (0)