cucker/golang

By cucker

Updated over 3 years ago

golang with CentOS

Image
0

110

Golang with CentOS

Soft environment

  • golang
  • glibc-2.28 with static

Supported tags and respective Dockerfile links

How to use this image

docker run -e CGO_ENABLED=1 -e GOARCH=amd64 -e GOCACHE=/go \
  -u 0:0 \
  -v /usr/local/src/flannel/dist/qemu-amd64-static:/usr/bin/qemu-amd64-static \
  -v /usr/local/src/flannel:/go/src/github.com/flannel-io/flannel:ro \
  -v /usr/local/src/flannel/dist:/go/src/github.com/flannel-io/flannel/dist \
  cucker/golang:latest /bin/bash -c '\
  cd /go/src/github.com/flannel-io/flannel && \
  make -e dist/flanneld && \
  mv dist/flanneld dist/flanneld-amd64'

Docker Pull Command

docker pull cucker/golang