Skip to content

JustAdam/docker-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go from source Docker container

Development in Go, using a Docker container. Once the container is created, stay inside and run all normal go commands.

  • Source code is kept on the host computer outside of the container. And so is your editor.
  • Package managment provided by gb.

Building version 1.5

$ docker build -t justadam/golang-onbuild .
$ cd 1.5
$ docker build -t justadadm/golang:1.5 .

Create the container

$ docker run -it --name go1.5 -v /path/to/your/go/source:/workspace justadam/golang:1.5

Get back into the container

$ docker start -ia go1.5

Building versions previous to 1.5

Change into the pre1.5 directory.

$ docker build -t pregolang .
$ cd 1.3
$ docker build -t golang:1.3 .

Create the container

$ docker run -it --name go1.3 -v /path/to/your/go/source/:/workspace golang:1.3

Get back into the container

$ docker start -ia go1.3

About

Go from source Docker container

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published