Skip to content
Snippets Groups Projects
Commit a1592cd7 authored by aleks's avatar aleks
Browse files

Update Fix hardcode scrape version with var HAPSCRAP_VERS

parent 4e39b0b4
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -59,7 +59,7 @@ RUN set -x \
&& cp -R /usr/src/haproxy/examples/errorfiles /usr/local/etc/haproxy/errors \
&& curl -SL https://github.com/prometheus/haproxy_exporter/releases/download/v${HAPSCRAP_VERS}/haproxy_exporter-${HAPSCRAP_VERS}.linux-amd64.tar.gz \
| tar xzvf - \
&& mv haproxy_exporter-0.8.0.linux-amd64/haproxy_exporter /usr/local/sbin/ \
&& mv haproxy_exporter-${HAPSCRAP_VERS}.linux-amd64/haproxy_exporter /usr/local/sbin/ \
&& rm -rf /usr/src/haproxy /usr/src/lua haproxy_exporter* \
&& yum -y autoremove $buildDeps \
&& yum -y clean all
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment