pvormste / docker

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:Apache License 2.0


Languages

Language:Shell 73.9%Language:Dockerfile 26.1%