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
8
8
{% import "macros.j2" as macros with context %}
9
9
10
10
{% 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
12
13
{% endblock %}
13
14
14
15
{% if base_arch in ['x86_64' ] %}
15
16
16
17
{% 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
18
22
{% endblock %}
19
23
20
24
{% else %}
@@ -24,7 +28,7 @@ RUN curl -ssL -o /opt/cadvisor https://github.com/google/cadvisor/releases/downl
24
28
{% set cadvisor_packages = [
25
29
'libjs-bootstrap' ,
26
30
'libjs-jquery' ,
27
- 'https://snapshot.debian.org/archive/debian/20180503T060640Z/pool/main/c/ cadvisor/cadvisor_0.27.1+dfsg2-1_arm64.deb '
31
+ 'cadvisor'
28
32
] %}
29
33
30
34
{{ 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