From c2ceba910a89c217fd22b1f462c3aa90ad5fc152 Mon Sep 17 00:00:00 2001 From: Jochem Bruijns Date: Mon, 11 Mar 2024 11:43:07 +0100 Subject: [PATCH] Fix docker container --- Dockerfile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index fa4cf13..71b4c62 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,9 @@ -FROM golang:1.19 AS build +FROM golang:1.22 WORKDIR /app ADD . . RUN make build -FROM centurylink/ca-certs -MAINTAINER Daniel Martins - -COPY --from=build /app/bin/pingdom-exporter /pingdom-exporter -ENTRYPOINT ["/pingdom-exporter"] +ENTRYPOINT ["/app/bin/pingdom-exporter"] USER 65534:65534