Skip to content

Commit a4d3ba4

Browse files
authored
Merge pull request #148 from swdream/install-procps-for-telegraf
install procps in telegraf image to fix "Could not find pgrep binary"…
2 parents 3cda121 + 8c5d507 commit a4d3ba4

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

telegraf/1.3/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM buildpack-deps:stretch-curl
22

33
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
4-
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends snmp && \
4+
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends snmp procps && \
55
rm -rf /var/lib/apt/lists/*
66

77
RUN set -ex && \

telegraf/1.3/alpine/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM alpine:3.6
22

33
RUN echo 'hosts: files dns' >> /etc/nsswitch.conf
4-
RUN apk add --no-cache iputils ca-certificates net-snmp-tools && \
4+
RUN apk add --no-cache iputils ca-certificates net-snmp-tools procps && \
55
update-ca-certificates
66

77
ENV TELEGRAF_VERSION 1.3.5

telegraf/1.4/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM buildpack-deps:stretch-curl
22

33
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
4-
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends snmp && \
4+
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends snmp procps && \
55
rm -rf /var/lib/apt/lists/*
66

77
RUN set -ex && \

telegraf/1.4/alpine/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM alpine:3.6
22

33
RUN echo 'hosts: files dns' >> /etc/nsswitch.conf
4-
RUN apk add --no-cache iputils ca-certificates net-snmp-tools && \
4+
RUN apk add --no-cache iputils ca-certificates net-snmp-tools procps && \
55
update-ca-certificates
66

77
ENV TELEGRAF_VERSION 1.4.4

0 commit comments

Comments
 (0)