mirror of
https://github.com/dcarrillo/whatismyip.git
synced 2025-07-01 23:19:26 +00:00
Update modules and bump go version to 1.18
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user