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
+6-6
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
4
4
## 🤔 about
5
5
6
-
This docker image extends [lambda ci `provided`](https://github.com/lambci/docker-lambda#documentation) builder docker image, a faithful reproduction of the actual AWS "**provided**" Lambda runtime environment,
6
+
This docker image extends [lambda ci `provided.al2`](https://github.com/lambci/docker-lambda#documentation) builder docker image, a faithful reproduction of the actual AWS "**provided.al2**" Lambda runtime environment,
7
7
and installs [rustup](https://rustup.rs/) and the *stable* rust toolchain.
8
8
9
9
This provides a build environment, consistent with your target execution environment for predictable results.
@@ -99,7 +99,7 @@ You can take a look at an example [here](./tests/test-func-with-hooks).
99
99
100
100
## 🔬 local testing
101
101
102
-
Once you've built a Rust lambda function artifact, the `provided` runtime expects
102
+
Once you've built a Rust lambda function artifact, the `provided.al2` runtime expects
103
103
deployments of that artifact to be named "**bootstrap**". The `lambda-rust` docker image
104
104
builds a zip file, named after the binary, containing your binary file renamed to "bootstrap" for you, but zip file creation is unnecessary for local development.
105
105
@@ -108,7 +108,7 @@ output (not zipped) is available under `target/lambda/{profile}/output/{your-lam
108
108
You will see both `bootstrap` and `bootstrap.debug` files there.
109
109
> **⚠️ Note:**`PACKAGE=false` prevents `package` hook from running.
110
110
111
-
You can then invoke this bootstap executable with the lambda-ci docker image for the `provided` AWS lambda runtime with a one off container.
111
+
You can then invoke this bootstap executable with the lambda-ci docker image for the `provided.al2` AWS lambda runtime with a one off container.
112
112
113
113
```sh
114
114
# Build your function skipping the zip creation step
@@ -122,13 +122,13 @@ docker run \
122
122
-v ${HOME}/.cargo/git:/cargo/git \
123
123
softprops/lambda-rust
124
124
125
-
# start a one-off docker container replicating the "provided" lambda runtime
125
+
# start a one-off docker container replicating the "provided.al2" lambda runtime
0 commit comments