GitHub

This repo provides the packages for devcontainer features, hosted for free on GitHub Container Registry.

The name of the repo follows the naming convention of the source repo :

  • github .com/devcontainers/features
  • github .com/frntn/devcontainers-features

Packages

This repository contains a collection of the following features :

  • newman : command-line companion for Postman. Open source - Maintained and supported by community contributions.
  • postman : command-line companion for Postman. Closed source - Maintained and supported by Postman.
  • gitleaks : SAST tool for detecting and preventing hardcoded secrets to be leaked in git repo.

newman

It requires npm so must use a container with nodejs installed first.

Simply reference newman package inside your .devcontainer.json.

Example 1 : Pre-built node image - Debian Bullseye - 1.27 GB

Add the following files in .devcontainer.json file

Example 2 : Built from base image - Ubuntu Jammy - 485 MB

Add the following files in .devcontainer folder

# .devcontainer/Dockerfile.nodejs
FROM mcr.microsoft.com/devcontainers/base:ubuntu
ARG DEBIAN_FRONTEND=noninteractive
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && apt-get install -y nodejs

postman

TODO

gitleak

TODO

Read the original on github.com ↗