Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Sleavely/docker-node-awscli

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sleavely/node-awscli

Lambda-compatible NodeJS images with AWS CLI installed.

Docker Hub | Github

Automatic Updates

Whenever a new NodeJS version is released, an instance of commit-on-release creates an empty commit in the corresponding branch (v20, v22 and v24) so that a new image is published to Docker Hub by a Github Action workflow.

Usage in CI/CD environments

Instead of using e.g. node:24 and installing awscli, jq, and zip every time the pipeline runs, just switch out the name of the image to sleavely/node-awscli:24.x or another appropriate version tag.

Bitbucket Pipelines

In bitbucket-pipelines.yml:

image: sleavely/node-awscli:24.x

pipelines:
  default:
    - step:
        name: Deploy to test environment
        script:
          - npm ci
          - npm run build-app-test
          - aws s3 sync ./build s3://$(WEBHOSTING_BUCKET_NAME)/

CircleCI

In .circleci/config.yml:

version: 2
jobs:
  deploy:
    docker:
      - image: sleavely/node-awscli:24.x
    steps:
    - checkout
    - run: npm ci
    - run: npm run build-app-test
    - run: aws s3 sync ./build s3://$(WEBHOSTING_BUCKET_NAME)/

Github Actions

In .github/worksflows/deploy.yml:

name: Build and deploy
on:
  push:
    branches:
      - main
jobs:
  deploy:
    runs-on: ubuntu-latest
    container:
      image: sleavely/node-awscli:24.x
    steps:
    - uses: actions/checkout@v3
    - run: npm ci
    - run: npm run build-app-test
    - run: aws s3 sync ./build s3://$(WEBHOSTING_BUCKET_NAME)/
      env:
        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
        WEBHOSTING_BUCKET_NAME: my-awesome-bucket

About

A Docker image 🐳 for CI/CD with Node versions for AWS Lambda and AWS CLI

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.