Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies and distros #65

Merged
merged 3 commits into from
May 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test-on-push-and-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ jobs:
- name: Set up node
uses: actions/setup-node@v1
with:
node-version: '12'
node-version: '16'
- name: Run 'pr' target
run: make pr
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ setup-codebuild-agent:

.PHONY: test-smoke
test-smoke: setup-codebuild-agent
CODEBUILD_IMAGE_TAG=codebuild-agent test/integration/codebuild-local/test_one.sh test/integration/codebuild/buildspec.os.alpine.2.yml alpine 3.12 14
CODEBUILD_IMAGE_TAG=codebuild-agent test/integration/codebuild-local/test_one.sh test/integration/codebuild/buildspec.os.alpine.1.yml alpine 3.16 18

.PHONY: test-integ
test-integ: setup-codebuild-agent
Expand Down
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions THIRD-PARTY-LICENSES
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

Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down
Loading