Skip to content

Instantly share code, notes, and snippets.

@podollb
podollb / Dockerfile
Last active October 6, 2016 18:36
build packer (for use on debian/ubuntu systems) from a specific commit hash
FROM golang:wheezy
RUN go get github.com/mitchellh/gox
RUN go get github.com/tools/godep
RUN go get github.com/mitchellh/packer
WORKDIR $GOPATH/src/github.com/mitchellh/packer
RUN git checkout 8ef2077c33aa05ff39896f3c30523b6aed9e76e3
RUN godep restore .../.
RUN /bin/bash scripts/build.sh
WORKDIR $GOPATH
### Keybase proof
I hereby claim:
* I am podollb on github.
* I am podollb (https://keybase.io/podollb) on keybase.
* I have a public key whose fingerprint is 15AE 1A63 D660 D403 9BA7 BF00 FA88 0E54 DA22 B885
To claim this, I am signing this object: