Exemplo do Dockerfile golang

FROM ubuntu:14.04# env varsENV HOME /rootENV GOPATH /root/goENV PATH /root/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/binENV MONGO_URL <MONGO_URL>RUN mkdir -p /root/.sshADD id_rsa /root/.ssh/id_rsaRUN chmod 700 /root/.ssh/id_rsaRUN echo “Host github.comntStrictHostKeyChecking non” >> /root/.ssh/config# GOPATHRUN mkdir -p /root/goRUN …

Continuar lendo