-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #167 from deniszh/DZ-fix-S390x
Trying to fix S390
- Loading branch information
Showing
2 changed files
with
33 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,9 +6,6 @@ RUN true \ | |
&& apk add --update --no-cache \ | ||
cairo \ | ||
cairo-dev \ | ||
collectd \ | ||
collectd-disk \ | ||
collectd-nginx \ | ||
findutils \ | ||
librrd \ | ||
logrotate \ | ||
|
@@ -34,6 +31,11 @@ RUN true \ | |
/var/log/carbon \ | ||
/var/log/graphite | ||
|
||
# optional packages (e.g. not exist on S390 in alpine 3.13 yet) | ||
RUN apk add --update \ | ||
collectd collectd-disk collectd-nginx \ | ||
|| true | ||
|
||
FROM base as build | ||
LABEL maintainer="Denys Zhdanov <[email protected]>" | ||
|
||
|
@@ -113,7 +115,7 @@ RUN git clone "${statsd_repo}" \ | |
&& git checkout tags/v"${statsd_version}" \ | ||
&& npm install | ||
|
||
# build go-carbon (experimental) | ||
# build go-carbon (optional) | ||
# https://github.com/go-graphite/go-carbon/pull/340 | ||
ARG gocarbon_version=0.15.6 | ||
ARG gocarbon_repo=https://github.com/go-graphite/go-carbon.git | ||
|
@@ -122,7 +124,8 @@ RUN git clone "${gocarbon_repo}" /usr/local/src/go-carbon \ | |
&& git checkout tags/v"${gocarbon_version}" \ | ||
&& make \ | ||
&& chmod +x go-carbon && mkdir -p /opt/graphite/bin/ \ | ||
&& cp -fv go-carbon /opt/graphite/bin/go-carbon | ||
&& cp -fv go-carbon /opt/graphite/bin/go-carbon \ | ||
|| true | ||
|
||
# install brubeck (experimental) | ||
ARG brubeck_version=bc1f4d3debe5eec337e7d132d092968ad17b91db | ||
|