diff --git a/Dockerfile b/Dockerfile index 008bbdb..1eede49 100755 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build with the golang image -FROM golang:1.16-alpine AS build +FROM golang:1.22.5-alpine AS build # Add git RUN apk add git @@ -17,7 +17,7 @@ COPY . . RUN CGO_ENABLED=0 go install . # Generate final image -FROM alpine:3.13 +FROM alpine:3.19.2 RUN apk --update --no-cache add ca-certificates COPY --from=build /go/bin/argo-controller /usr/local/bin/argo-controller ENTRYPOINT [ "/usr/local/bin/argo-controller" ]