Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am civ0 on github.
  • I am civ0 (https://keybase.io/civ0) on keybase.
  • I have a public key ASDceCe7S48g-zE47EA9XvbUzCmlNeD6_P-xPNZK6xZB9go

To claim this, I am signing this object:

@civ0
civ0 / docker-go-build.sh
Last active April 1, 2018 10:49
Build a go application in a docker container
#!/bin/bash
if [ -z ${1+x} ]; then
SRC_PATH=$(pwd)
else
if [ -d "$1" ]; then
SRC_PATH=$1
else
echo "$1 is not a directory"
exit 1