Skip to content

Repository files navigation

DevTainr

Setup your VSCode development container configuration files with style πŸ¦—

Features

Install development container configuration files to your repository for one of the following:

Usage

Binary

  1. Download the binary for your machine from the last release page

  2. If you are on Linux or OSX, make it executable with:

    chmod +x devtainr
  3. Run it with

    ./devtainr -dev go -name projectname
    πŸ“ Creating .devcontainer directory...βœ”οΈ
    πŸ“₯ Downloading .dockerignore...βœ”οΈ
    πŸ“₯ Downloading Dockerfile...βœ”οΈ
    πŸ“₯ Downloading README.md...βœ”οΈ
    πŸ“₯ Downloading devcontainer.json...βœ”οΈ
    πŸ“₯ Downloading docker-compose.yml...βœ”οΈ
    ✏️ Setting name to project-dev...βœ”οΈ
    🦾 Your go development container configuration is ready! πŸš€
    
    # More information:
    ./devtainr -help

Docker

docker run -it --rm --user="$(id -u):$(id -g)" -v "/yourrepopath:/repository" qmcgaw/devtainr -dev go -path /repository -name projectname
πŸ“ Creating .devcontainer directory...βœ”οΈ
πŸ“₯ Downloading .dockerignore...βœ”οΈ
πŸ“₯ Downloading Dockerfile...βœ”οΈ
πŸ“₯ Downloading README.md...βœ”οΈ
πŸ“₯ Downloading devcontainer.json...βœ”οΈ
πŸ“₯ Downloading docker-compose.yml...βœ”οΈ
✏️ Setting name to project-dev...βœ”οΈ
🦾 Your go development container configuration is ready! πŸš€

# More information
docker run -it --rm qmcgaw/devtainr -help

Platforms supported

Build it yourself

Install Go, then either

  • Download it on your machine:

    go get github.com/qdm12/devtainr/cmd/devtainr
  • Clone this repository and build it:

    GOARCH=amd64 go build cmd/devtainr/main.go

About

Static binary tool to setup your development container in your repository

Resources

Stars

16 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages