/goindock-1

🐳 Docker based Golang development environment

Primary LanguageVim ScriptGNU General Public License v3.0GPL-3.0

GoInDock

Go&Docker

No more need to install Golang on your computer, use docker instead with this development environment.

What's in this ?

  • Alpine as Operating System
  • Docker in docker
  • Golang (latest version)
  • Fish shell and Oh-My-Fish
  • Git
  • Fully configured Vim for Golang

How to use it ?

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

Ports

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

Vim

Run :PlugInstall on the first start to install theme and other things then run :GoInstallBinaries.