mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-21 22:43:52 +00:00
Dockerfile: bump docker image version to golang 1.17.6
This commit is contained in:
parent
b2c4cd91a7
commit
10e4f3cbab
|
@ -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
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user