Skip to content

Instantly share code, notes, and snippets.

@ipcjk
Created March 5, 2018 12:19
Show Gist options
  • Save ipcjk/5ac47407147ed24aeee073c4944205b9 to your computer and use it in GitHub Desktop.
Save ipcjk/5ac47407147ed24aeee073c4944205b9 to your computer and use it in GitHub Desktop.
FROM debian:stretch
RUN apt-get -q update && apt-get -yq upgrade && apt-get -yq install golang openssl ca-certificates git && mkdir /root/go && cd /root && git clone https://go.googlesource.com/go && cd /root/go/src && ./all.bash && apt-get -y purge golang && echo 'PATH=$PATH:/root/go/bin' >> /root/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment