Skip to content

Commit

Permalink
Rollback to Go 1.15 to fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
beevee committed Feb 18, 2021
1 parent cbe8d04 commit 2c864ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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 \
Expand All @@ -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"]

0 comments on commit 2c864ac

Please sign in to comment.