Vagrant configuration and a Dockerfile that acts similarly. Mostly focusing on the docker image now and provisioning a fresh instance to run the image.
First scp your ssh keys into the droplet
Then run sh/provision_droplet.sh
. This makes a user called dev
with password dev
, and gives it the ssh keys to authenticate with github.
Running build.sh
builds the docker image.
make dev
runs the image and grabs voulmes from a gopath and ssh_keys image (to be automated)
for now just run make dev_ssh
, it assumes the ssh key image is there and not the git/go/minikube/kube volumes