File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
docker/prometheus/prometheus-jiralert Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,8 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
15
15
] %}
16
16
{% elif base_package_type == 'deb' %}
17
17
{% set prometheus_jiralert_packages = [
18
- 'golang-go' ,
18
+ 'golang-1.16-go' ,
19
+ 'make' ,
19
20
] %}
20
21
{% endif %}
21
22
@@ -28,7 +29,8 @@ ARG prometheus_jiralert_url=https://github.com/stackhpc/jiralert/archive/refs/he
28
29
29
30
{% block prometheus_jiralert_install %}
30
31
ENV GOPATH=/build
31
- RUN mkdir /build \
32
+ RUN PATH={% if base_package_type == 'deb' %} /usr/lib/go-1.16/bin:{% endif %} $PATH \
33
+ && mkdir /build \
32
34
&& cd /build \
33
35
&& curl -o jiralert.tar.gz ${prometheus_jiralert_url} \
34
36
&& tar xvf jiralert.tar.gz \
You can’t perform that action at this time.
0 commit comments