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
@@ -10,11 +10,9 @@ deploy it in Amazon Lambda. Building serverless applications, it is ironic to be
10
10
11
11
This docker image is based on the [Amazon Linux](https://hub.docker.com/_/amazonlinux/) image and contains `gcc`.
12
12
13
-
The AWS lambda [runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html) are now split between `Amazon Linux` and `Amazon Linux 2` execution environments.
13
+
The docker image `myrmex/lambda-packager:1` contains `python 2.7`, `python 3.6`, `python 3.7`, `pip`, `node 6.10`, `node 8.10` to create packages for Amazon Lambda.
14
14
15
-
The docker image for `Amazon Linux` now contains `python 2.7`, `python 3.6`, `python 3.7`, `pip`, `node 6.10`, `node 8.10` to create packages for Amazon Lambda.
16
-
17
-
The docker image for `Amazon Linux 2` now contains `node 10.15` to create packages for Amazon Lambda.
15
+
The docker image for `myrmex/lambda-packager:2` contains `node 10.16` to create packages for Amazon Lambda.
18
16
19
17
Using the docker images from `myrmex/lambda-packager`, you can avoid errors like these during execution in Amazon Lambda:
20
18
@@ -26,39 +24,27 @@ Using the docker images from `myrmex/lambda-packager`, you can avoid errors like
26
24
Module version mismatch. Expected 46, got 48.
27
25
```
28
26
29
-
## Building
30
-
31
-
To build the required images standard `Dockerfile` have been included one for `Amazon Linux` and another for `Amazon Linux 2`.
32
-
33
-
To build the `Amazon Linux` image that supports node 6.10, node 8.10, python 2.7, python 3.6 and python 3.7
34
-
35
-
```bash
36
-
cd Amazon\ Linux
37
-
docker build -t myrmex/lambda-packager .
38
-
```
39
-
40
-
To build the `Amazon Linux 2` image that supports node 10.15
0 commit comments