We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 782d02d commit 52375aeCopy full SHA for 52375ae
docker/prometheus/prometheus-libvirt-exporter/Dockerfile.j2
@@ -33,8 +33,10 @@ ARG prometheus_libvirt_exporter_path=github.com/AlexZzz/libvirt-exporter
33
{% block prometheus_libvirt_exporter_install %}
34
ENV GOPATH=/build
35
RUN go mod init libvirt-exporter \
36
+ && cd ${GOPATH} \
37
&& go get -v ${prometheus_libvirt_exporter_path}@${prometheus_libvirt_exporter_version} \
- && mv /build/bin/libvirt-exporter /opt \
38
+ && go build ${prometheus_libvirt_exporter_path} \
39
+ && mv /build/libvirt-exporter /opt \
40
&& rm -rf /build
41
42
{% endblock %}
0 commit comments