Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
abbas-gheydi authored Oct 31, 2023
1 parent bb80e54 commit 5b1c65b
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@ COPY . .

RUN go mod download && go build -o /openstack-exporter .

FROM busybox:stable-glibc as openstack-exporter
FROM quay.io/openstack.kolla/prometheus-openstack-exporter:2023.1-ubuntu-jammy as openstack-exporter

LABEL maintainer="Jorge Niedbalski <[email protected]>"
COPY --from=build /openstack-exporter /opt/openstack-exporter/openstack-exporter

COPY --from=build /openstack-exporter /bin/openstack-exporter

ENTRYPOINT [ "/bin/openstack-exporter" ]
EXPOSE 9180

0 comments on commit 5b1c65b

Please sign in to comment.