Skip to content

Commit

Permalink
fix docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
0x46616c6b committed Jan 9, 2019
1 parent 7f046aa commit d117324
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
FROM golang:alpine AS build-env
FROM golang:1.11-alpine AS build-env
ENV GO111MODULE=on
WORKDIR /go/src/github.com/systemli/ticker
ADD . /go/src/github.com/systemli/ticker
RUN apk update && apk add git gcc libc-dev
RUN go build -o /ticker

FROM alpine
Expand Down

0 comments on commit d117324

Please sign in to comment.