Skip to content

Commit 04e50c7

Browse files
authored
Update README.md
1 parent 91b4e0e commit 04e50c7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
Some node and python modules require a build system because they contain c++ binding. Once deployed, the compiled
66
module may not be complatible with the Amazon Lambda execution environment.
77

8-
A common solution to this problem is to install the package on an EC2 instance using an Amazon Linux AMI and then to
9-
deploy it in Amazon Lambda. Building serverless applications, it is ironic to be obliged to use a server to deploy code.
8+
A common solution to this problem is to build the package on an EC2 instance using an Amazon Linux AMI and then to
9+
deploy it in Amazon Lambda. Building serverless applications, it is ironic to be obliged to use an EC2 server to deploy code.
1010

1111
This docker image is based on the [Amazon Linux](https://hub.docker.com/_/amazonlinux/) image and contains `gcc`,
1212
`python 2.7`, `python 3.6`, `pip`, `node 4.3`, `node 6.10` and `npm 4` to create packages for Amazon Lambda.
1313

14-
Using the docker image `myrmex/lambda-packager`, avoid errors like these during execution in Amazon Lambda:
14+
Using the docker image `myrmex/lambda-packager`, you can avoid errors like these during execution in Amazon Lambda:
1515

1616
```
1717
/var/lang/lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /var/task/node_modules/bcrypt/lib/binding/bcrypt_lib.node)
@@ -23,7 +23,7 @@ Module version mismatch. Expected 46, got 48.
2323

2424
## Usage
2525

26-
You can use a docker volume to mount the code of the Lambda it in a container. The directory where `npm install` or
26+
You can use a docker volume to mount the code of the Lambda in a container. The directory where `npm install` or
2727
`pip install` is executed inside the container is `/data`. By default, the installation will be performed for node
2828
6.10.
2929

@@ -38,7 +38,7 @@ For a node package, take care that `node_module` does not already exist before r
3838

3939
### Managing permissions
4040

41-
The user that performs `npm install` or `pip install` inside the container may have a `uid/gid` that differs from the
41+
The user account that performs `npm install` or `pip install` inside the container may have a `uid/gid` that differs from the
4242
`uid/gid` of the host machine and will not be able to perform the installation. The image `myrmex/lambda-packager`
4343
accepts two environment variables that allows to modify the `uid/gid` of the container's user: `HOST_UID` and
4444
`HOST_GID`. If `HOST_GID` is omitted, its value will be set to the value of `HOST_UID`.

0 commit comments

Comments
 (0)