Skip to content

Use language toolings (e.g. go compiler) with the official docker image

License

Notifications You must be signed in to change notification settings

pvormste/docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Image with go compiler and tools

This branch can create a docker image by using the official docker image Dockerfile and adding the go compiler and tools. So you can compile and run go programs with this image and also use docker with docker:dind (for ci pipelines).

How to create the docker image

Simply run the build-go.sh shell script.

You can also customize the script to your needs (e.g. change go version or image name).

Example Usage

Gitlab

"integration tests":
  stage: test
  image: pvormste/docker-go:1.12
  services:
    - docker:dind
  script:
    - go test -tags integration -v ./... 2>&1 | go-junit-report > report.xml
  artifacts:
    reports:
      junit: report.xml

About

Use language toolings (e.g. go compiler) with the official docker image

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 73.9%
  • Dockerfile 26.1%