Awesome
DevTainr
Setup your VSCode development container configuration files with style š¦
Features
Install development container configuration files to your repository for one of the following:
qmcgaw/godevcontainer
qmcgaw/reactdevcontainer
qmcgaw/rustdevcontainer
qmcgaw/nodedevcontainer
qmcgaw/latexdevcontainer
qmcgaw/basedevcontainer
Usage
Binary
-
Download the binary for your machine from the last release page
-
If you are on Linux or OSX, make it executable with:
chmod +x devtainr
-
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
linux/amd64
linux/386
- If you need one more, please create an issue
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