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
1515 ] %}
1616{% elif base_package_type == 'deb' %}
1717 {% set prometheus_jiralert_packages = [
18- 'golang-go' ,
18+ 'golang-1.16-go' ,
19+ 'make' ,
1920 ] %}
2021{% endif %}
2122
@@ -28,7 +29,8 @@ ARG prometheus_jiralert_url=https://github.com/stackhpc/jiralert/archive/refs/he
2829
2930{% block prometheus_jiralert_install %}
3031ENV 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 \
3234 && cd /build \
3335 && curl -o jiralert.tar.gz ${prometheus_jiralert_url} \
3436 && tar xvf jiralert.tar.gz \
You can’t perform that action at this time.
0 commit comments