File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
docker/prometheus/prometheus-cadvisor Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -8,13 +8,17 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
88{% import "macros.j2" as macros with context %}
99
1010{% block prometheus_cadvisor_repository_version %}
11- ENV prometheus_cadvisor_version=0.35.0
11+ ENV prometheus_cadvisor_version=0.38.7
12+ ENV prometheus_cadvisor_sha256sum=fdb86c256df682cfec2abd57a4405c919ed26f1e27ebfabf487f6c516bc7f6c7
1213{% endblock %}
1314
1415{% if base_arch in ['x86_64' ] %}
1516
1617{% block prometheus_cadvisor_install %}
17- RUN curl -ssL -o /opt/cadvisor https://github.com/google/cadvisor/releases/download/v${prometheus_cadvisor_version}/cadvisor && chmod 0755 /opt/cadvisor
18+ RUN curl -o /tmp/cadvisor https://github.com/google/cadvisor/releases/download/v${prometheus_cadvisor_version}/cadvisor \
19+ && echo "${prometheus_cadvisor_sha256sum} /tmp/cadvisor" | sha256sum -c \
20+ && mv /tmp/cadvisor /opt \
21+ && chmod 0755 /opt/cadvisor
1822{% endblock %}
1923
2024{% else %}
@@ -24,7 +28,7 @@ RUN curl -ssL -o /opt/cadvisor https://github.com/google/cadvisor/releases/downl
2428 {% set cadvisor_packages = [
2529 'libjs-bootstrap' ,
2630 'libjs-jquery' ,
27- 'https://snapshot.debian.org/archive/debian/20180503T060640Z/pool/main/c/ cadvisor/cadvisor_0.27.1+dfsg2-1_arm64.deb '
31+ 'cadvisor'
2832 ] %}
2933
3034{{ macros.install_packages(cadvisor_packages | customizable("packages")) }}
Original file line number Diff line number Diff line change 1+ ---
2+ features :
3+ - |
4+ cAdvisor has been updated to 0.38.7 version.
You can’t perform that action at this time.
0 commit comments