Skip to content
/ devtainr Public

Static binary tool to setup your development container in your repository

License

Notifications You must be signed in to change notification settings

qdm12/devtainr

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 -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

License

Stars

Watchers

Forks

Packages

No packages published