diff options
author | Niall Sheridan <nsheridan@gmail.com> | 2016-09-11 21:23:34 +0100 |
---|---|---|
committer | Niall Sheridan <nsheridan@gmail.com> | 2016-09-11 21:23:34 +0100 |
commit | fcd99315094618c20c06ece2eefe89cc751bb5b1 (patch) | |
tree | c7ce00e72e000f4991d0594302f1fc10890973b8 | |
parent | 65151dd29dc01c6d1f6ff79ab6f8e049e925ce25 (diff) |
Use the alpine image
-rw-r--r-- | Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |