From 2bb3b886c210f22324d310a1657e260cdd63b05a Mon Sep 17 00:00:00 2001 From: Steven Tang Date: Mon, 3 Jan 2022 12:04:57 +1100 Subject: [PATCH] chore: update Docker to use golang:1.17-alpine --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f08c850..7319f1d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # To build locally: docker buildx build . -t wakapi --load # Preparation to save some time -FROM --platform=$BUILDPLATFORM golang:1.16-alpine AS prep-env +FROM --platform=$BUILDPLATFORM golang:1.17-alpine AS prep-env WORKDIR /src ADD ./go.mod . @@ -12,7 +12,7 @@ RUN wget "https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-fo chmod +x wait-for-it.sh # Build Stage -FROM golang:1.16-alpine AS build-env +FROM golang:1.17-alpine AS build-env # Required for go-sqlite3 RUN apk add --no-cache gcc musl-dev