diff --git a/Dockerfile b/Dockerfile index acc49db3d..d3f932f5a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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