From 4359b1e99eacd5a088c8345ddd8553c16c9127ff Mon Sep 17 00:00:00 2001 From: Andrea Amorosi Date: Thu, 10 Nov 2022 18:55:18 +0100 Subject: [PATCH] chore: add codespaces badge --- .devcontainer/Dockerfile | 7 ------- CONTRIBUTING.md | 4 +++- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 5803ca8a28..bf55eac0a8 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -7,14 +7,7 @@ FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT} RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ && apt-get -y install --no-install-recommends bash-completion -# [Optional] Uncomment if you want to install an additional version of node using nvm -# ARG EXTRA_NODE_VERSION=10 -# RUN su node -c "umask 0002 && ./usr/local/share/nvm/nvm.sh && nvm install ${EXTRA_NODE_VERSION}" - RUN wget https://github.com/aws/aws-sam-cli/releases/latest/download/aws-sam-cli-linux-x86_64.zip \ && unzip aws-sam-cli-linux-x86_64.zip -d sam-installation \ && sudo ./sam-installation/install \ && rm -rf sam-installation aws-sam-cli-linux-* - -# Global node modules -RUN su node -c "npm install -g npm-check-updates npm@next-8" diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e710c843bd..a67c3340d3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -55,9 +55,11 @@ reported the issue. Please try to include as much information as you can. Detail ## Getting Started The following steps describe how to set up the AWS Lambda Powertools for TypeScript repository on your local machine. -The alternative is to use a Cloud IDE like [Gitpod](https://www.gitpod.io/) or [Codespaces](https://github.com/features/codespaces) for your development. + +The alternative is to use a Cloud IDE like [Gitpod](https://www.gitpod.io/) or [GitHub CodeSpaces](https://github.com/features/codespaces) for your development. To quickly get up and running you can click one of these button to open a cloned version of this repo with all of the prerequisites and dependencies installed: [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/awslabs/aws-lambda-powertools-typescript) +[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://github.com/codespaces/new?hide_repo_select=true&ref=main&repo=305501331) ### Setup