diff --git a/Dockerfile b/Dockerfile index c17162e..7203287 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:alpine as golang +FROM golang:1.15-alpine as golang WORKDIR /go/src/github.com/beevee/konturtransferbot COPY . . RUN apk add --no-cache git mercurial \ @@ -8,7 +8,7 @@ RUN apk add --no-cache git mercurial \ RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o /go/bin/konturtransferbot github.com/beevee/konturtransferbot/cmd/konturtransferbot FROM alpine -RUN apk add --no-cache ca-certificates && update-ca-certificates +RUN apk add --no-cache tzdata ca-certificates && update-ca-certificates COPY cmd/konturtransferbot/schedule.yml /schedule.yml COPY --from=golang /go/bin/konturtransferbot /konturtransferbot ENTRYPOINT ["/konturtransferbot"]