Fix update of Dockerfile to Go 1.17

This commit is contained in:
Brendan C. Ward 2021-12-22 10:30:42 -08:00
parent a26f9228a9
commit 4fe72726bf
No known key found for this signature in database
GPG Key ID: 37A8A7A2D61DFE13

View File

@ -1,5 +1,5 @@
# Stage 1: compile mbtileserver
FROM golang:1.16-alpine3.12
FROM golang:1.17-alpine3.15
WORKDIR /
RUN apk add git build-base
@ -9,7 +9,7 @@ RUN GOOS=linux go build -o /mbtileserver
# Stage 2: start from a smaller image
FROM alpine:3.12
FROM alpine:3.15
WORKDIR /