From 10e4f3cbaba3d0a0891fee40476848bc1f2daa8f Mon Sep 17 00:00:00 2001 From: c9s Date: Wed, 26 Jan 2022 14:10:50 +0800 Subject: [PATCH] Dockerfile: bump docker image version to golang 1.17.6 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e8b5d54ee..5c3379e4c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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