aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiall Sheridan <nsheridan@gmail.com>2016-09-11 21:23:34 +0100
committerNiall Sheridan <nsheridan@gmail.com>2016-09-11 21:23:34 +0100
commitfcd99315094618c20c06ece2eefe89cc751bb5b1 (patch)
treec7ce00e72e000f4991d0594302f1fc10890973b8
parent65151dd29dc01c6d1f6ff79ab6f8e049e925ce25 (diff)
Use the alpine image
-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