No more need to install Golang on your computer, use docker instead with this development environment.
- Alpine as Operating System
- Docker in docker
- Golang (latest version)
- Fish shell and Oh-My-Fish
- Git
- Fully configured Vim for Golang
Get the docker-compose.yml :
curl -fLo docker-compose.yml https://raw.githubusercontent.com/dimensi0n/goindock/main/docker-compose.yml
Up all that stuff :
docker-compose up -d
Then run the environment :
docker-compose run go
Once you've done that you are inside your new development environment, get or clone your project and you can start working on it :)
If you want your app to be exposed outside of your container, run it on the port 8080, then you can go on https://localhost:8080 on your web browser
Run :PlugInstall
on the first start to install theme and other things then run :GoInstallBinaries
.