Skip to content

Commit

Permalink
Merge pull request #4 from Abbas-gheydi/1-1-0-kolla
Browse files Browse the repository at this point in the history
Update Dockerfile
  • Loading branch information
abbas-gheydi authored Nov 10, 2023
2 parents d7cc2d3 + 5b1c65b commit 9a6ac0c
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 <j@bearmetal.xyz>"
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 9a6ac0c

Please sign in to comment.