-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependencies, distros and node versions(#65)
* Update to newer distros, dependencies and node versions
- Loading branch information
Showing
25 changed files
with
1,510 additions
and
1,836 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,9 +10,9 @@ You can include this package in your preferred base image to make that base imag | |
|
||
## Requirements | ||
The NodeJS Runtime Interface Client package currently supports NodeJS versions: | ||
- 10.x | ||
- 12.x | ||
- 14.x | ||
- 16.x | ||
- 18.x | ||
|
||
## Usage | ||
|
||
|
@@ -55,7 +55,7 @@ Example Dockerfile (to keep the image light we used a multi-stage build): | |
# Define custom function directory | ||
ARG FUNCTION_DIR="/function" | ||
|
||
FROM node:12-buster as build-image | ||
FROM node:18-buster as build-image | ||
|
||
# Include global arg in this stage of the build | ||
ARG FUNCTION_DIR | ||
|
@@ -81,7 +81,11 @@ WORKDIR ${FUNCTION_DIR} | |
RUN npm install | ||
|
||
# Grab a fresh slim copy of the image to reduce the final size | ||
FROM node:12-buster-slim | ||
FROM node:18-buster-slim | ||
|
||
# Required for Node runtimes which use [email protected]+ because | ||
# by default npm writes logs under /home/.npm and Lambda fs is read-only | ||
ENV NPM_CONFIG_CACHE=/tmp/.npm | ||
|
||
# Include global arg in this stage of the build | ||
ARG FUNCTION_DIR | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
** aws-lambda-cpp; version 0.2.6 -- https://github.com/awslabs/aws-lambda-cpp | ||
** aws-lambda-cpp; version 0.2.8 -- https://github.com/awslabs/aws-lambda-cpp | ||
|
||
Apache License | ||
|
||
|
@@ -204,7 +204,7 @@ limitations under the License. | |
|
||
------ | ||
|
||
** node-gyp; version 7.1.0 -- https://github.com/nodejs/node-gyp | ||
** node-gyp; version 9.3.1 -- https://github.com/nodejs/node-gyp | ||
Copyright (c) 2012 Nathan Rajlich <[email protected]> | ||
|
||
(The MIT License) | ||
|
@@ -234,7 +234,7 @@ OTHER DEALINGS IN THE SOFTWARE. | |
|
||
------ | ||
|
||
** node-addon-api; version 3.0.1 -- https://github.com/nodejs/node-addon-api | ||
** node-addon-api; version 6.0.0 -- https://github.com/nodejs/node-addon-api | ||
The MIT License (MIT) | ||
Copyright (c) 2017 Node.js API collaborators | ||
Node.js API collaborators listed at | ||
|
Oops, something went wrong.