mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-21 14:33:53 +00:00
upgrade golang sdk for docker image
This commit is contained in:
parent
98739cc8a1
commit
6f30b4551c
|
@ -1,5 +1,5 @@
|
|||
# First stage container
|
||||
FROM golang:1.17.11-alpine3.16 AS builder
|
||||
FROM golang:1.18.10-alpine3.17 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.16
|
||||
FROM alpine:3.17
|
||||
|
||||
# Create the default user 'bbgo' and assign to env 'USER'
|
||||
ENV USER=bbgo
|
||||
|
|
Loading…
Reference in New Issue
Block a user