From 5add875d9b2bce314ab9f900e3a5f6b4ccc526b0 Mon Sep 17 00:00:00 2001 From: Tadas Sutkaitis Date: Tue, 18 Jul 2023 16:20:41 +0200 Subject: [PATCH] fix: dockerfile scenario --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 16a9a6b..15581db 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,11 @@ RUN go build # FROM xrally/xrally-openstack:2.2.0 FROM xrally/xrally-openstack:latest +USER root + COPY delete-tasks.sh /delete-tasks.sh RUN chmod +x /delete-tasks.sh COPY --from=builder /go/src/app/rally-exporter /rally-exporter ENTRYPOINT ["/rally-exporter"] + +USER rally