Skip to content

Commit

Permalink
Dockerfile: bump docker image version to golang 1.17.6
Browse files Browse the repository at this point in the history
  • Loading branch information
c9s committed Jan 26, 2022
1 parent b2c4cd9 commit 10e4f3c
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,5 +1,5 @@
# First stage container
FROM golang:1.15-alpine3.12 AS builder
FROM golang:1.17.6-alpine3.15 AS builder
RUN apk add --no-cache git ca-certificates gcc libc-dev pkgconfig
# gcc is for github.com/mattn/go-sqlite3
# ADD . $GOPATH/src/github.com/c9s/bbgo
Expand All @@ -16,7 +16,7 @@ ADD . .
RUN go build -o $GOPATH_ORIG/bin/bbgo ./cmd/bbgo

# Second stage container
FROM alpine:3.12
FROM alpine:3.15

# RUN apk add --no-cache ca-certificates
RUN mkdir /app
Expand Down

0 comments on commit 10e4f3c

Please sign in to comment.