Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions docker/prometheus/prometheus-jiralert/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
] %}
{% elif base_package_type == 'deb' %}
{% set prometheus_jiralert_packages = [
'golang-go',
'golang-1.16-go',
'make',
] %}
{% endif %}

Expand All @@ -28,7 +29,8 @@ ARG prometheus_jiralert_url=https://github.com/stackhpc/jiralert/archive/refs/he

{% block prometheus_jiralert_install %}
ENV GOPATH=/build
RUN mkdir /build \
RUN PATH={% if base_package_type == 'deb' %}/usr/lib/go-1.16/bin:{% endif %}$PATH \
&& mkdir /build \
&& cd /build \
&& curl -o jiralert.tar.gz ${prometheus_jiralert_url} \
&& tar xvf jiralert.tar.gz \
Expand Down