Setup your VSCode development container configuration files with style π¦
Install development container configuration files to your repository for one of the following:
qmcgaw/godevcontainerqmcgaw/reactdevcontainerqmcgaw/rustdevcontainerqmcgaw/nodedevcontainerqmcgaw/latexdevcontainerqmcgaw/basedevcontainer
-
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 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 -helplinux/amd64linux/386- If you need one more, please create an issue
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