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
+16-5
Original file line number
Diff line number
Diff line change
@@ -32,13 +32,16 @@ $ cd aws-lambda-adapter
32
32
33
33
### Compiling with Docker
34
34
On x86_64 Windows, Linux and macOS, you can run one command to compile Lambda Adapter with docker.
35
-
The Dockerfile is [here](Dockerfile.x86). [AWS CLI](https://aws.amazon.com/cli/) should have been installed and configured.
35
+
The Dockerfile is [here](Dockerfile.x86). [AWS CLI v2](https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2.html) should have been installed and configured.
36
36
37
37
```shell
38
38
$ make build
39
39
```
40
40
41
-
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.
41
+
Once the build completes, it creates two docker images:
42
+
- "aws-lambda-adapter:latest-x86_64" for x86_64.
43
+
- "aws-lambda-adapter:latest-aarch64" for arm64.
44
+
AWS Lambda Adapter binary is packaged as '/opt/bootstrap' inside each docker image. "aws-lambda-adapter:latest" is tagged to the same image as "aws-lambda-adapter:latest-x86_64".
42
45
43
46
### Compiling on macOS
44
47
@@ -54,6 +57,7 @@ And we have to install macOS cross-compiler toolchains. `messense/homebrew-macos
54
57
```shell
55
58
$ brew tap messense/macos-cross-toolchains
56
59
$ brew install x86_64-unknown-linux-musl
60
+
$ brew install aarch64-unknown-linux-musl
57
61
```
58
62
59
63
And we need to inform Cargo that our project uses the newly-installed linker when building for the `x86_64-unknown-linux-musl` platform.
@@ -62,22 +66,29 @@ Create a new directory called `.cargo` in your project folder and a new file cal
0 commit comments