Update modules and bump go version to 1.18

This commit is contained in:
2022-03-19 18:59:15 +01:00
parent ab46275990
commit edd0713c21
4 changed files with 406 additions and 145 deletions

View File

@ -1,4 +1,4 @@
FROM golang:1.17-alpine as builder
FROM golang:1.18-alpine as builder
ARG ARG_VERSION
ENV VERSION $ARG_VERSION
@ -7,7 +7,7 @@ WORKDIR /app
COPY . .
RUN apk add make && make build VERSION=$VERSION
RUN apk add make git && make build VERSION=$VERSION
# Build final image
FROM scratch