Skip to content

Commit f6089b9

Browse files
authored
Merge pull request #178 from stackhpc/wallaby-jiralert-fix-cherry
jiralert: Fix Ubuntu builds
2 parents 689f43b + 3633973 commit f6089b9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docker/prometheus/prometheus-jiralert/Dockerfile.j2

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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 %}
3031
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 \
3234
&& cd /build \
3335
&& curl -o jiralert.tar.gz ${prometheus_jiralert_url} \
3436
&& tar xvf jiralert.tar.gz \

0 commit comments

Comments
 (0)