aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index e343688..9e9498d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,8 +1,8 @@
-FROM golang:1.7
+FROM golang:1.7-alpine
ADD . /go/src/github.com/nsheridan/cashier
+RUN apk add --update build-base
RUN go install github.com/nsheridan/cashier/cmd/cashierd
-ONBUILD COPY . /cashier
WORKDIR /cashier
ENTRYPOINT /go/bin/cashierd