Skip to content

Commit

Permalink
Merge pull request #147 from stackhpc/wallaby-ubuntu-jiralert
Browse files Browse the repository at this point in the history
jiralert: Fix Ubuntu builds
  • Loading branch information
markgoddard authored Jul 14, 2022
2 parents 3fc49b2 + 25d201a commit edd4eba
Showing 1 changed file with 4 additions and 2 deletions.
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

0 comments on commit edd4eba

Please sign in to comment.