Unverified Commit 8cce3e2a authored by Josh Powers's avatar Josh Powers
Browse files

update naming of net_bind_service

parent a23175ca
......@@ -27,7 +27,7 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" && \
gpg --batch --verify telegraf_${TELEGRAF_VERSION}-1_${ARCH}.deb.asc telegraf_${TELEGRAF_VERSION}-1_${ARCH}.deb && \
dpkg -i telegraf_${TELEGRAF_VERSION}-1_${ARCH}.deb && \
setcap cap_net_raw+ep /usr/bin/telegraf && \
setcap net_bind_service+ep /usr/bin/telegraf && \
setcap cap_net_bind_service+ep /usr/bin/telegraf && \
rm -f telegraf_${TELEGRAF_VERSION}-1_${ARCH}.deb*
EXPOSE 8125/udp 8092/udp 8094
......
......@@ -24,7 +24,7 @@ RUN set -ex && \
mkdir /etc/telegraf/telegraf.d && \
cp -a /usr/src/telegraf*/usr/bin/telegraf /usr/bin/ && \
setcap cap_net_raw+ep /usr/bin/telegraf && \
setcap net_bind_service+ep /usr/bin/telegraf && \
setcap cap_net_bind_service+ep /usr/bin/telegraf && \
gpgconf --kill all && \
rm -rf *.tar.gz* /usr/src /root/.gnupg && \
apk del .build-deps && \
......
......@@ -27,7 +27,7 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" && \
gpg --batch --verify telegraf_${TELEGRAF_VERSION}-1_${ARCH}.deb.asc telegraf_${TELEGRAF_VERSION}-1_${ARCH}.deb && \
dpkg -i telegraf_${TELEGRAF_VERSION}-1_${ARCH}.deb && \
setcap cap_net_raw+ep /usr/bin/telegraf && \
setcap net_bind_service+ep /usr/bin/telegraf && \
setcap cap_net_bind_service+ep /usr/bin/telegraf && \
rm -f telegraf_${TELEGRAF_VERSION}-1_${ARCH}.deb*
EXPOSE 8125/udp 8092/udp 8094
......
......@@ -24,7 +24,7 @@ RUN set -ex && \
mkdir /etc/telegraf/telegraf.d && \
cp -a /usr/src/telegraf*/usr/bin/telegraf /usr/bin/ && \
setcap cap_net_raw+ep /usr/bin/telegraf && \
setcap net_bind_service+ep /usr/bin/telegraf && \
setcap cap_net_bind_service+ep /usr/bin/telegraf && \
gpgconf --kill all && \
rm -rf *.tar.gz* /usr/src /root/.gnupg && \
apk del .build-deps && \
......
......@@ -27,7 +27,7 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" && \
gpg --batch --verify telegraf_${TELEGRAF_VERSION}-1_${ARCH}.deb.asc telegraf_${TELEGRAF_VERSION}-1_${ARCH}.deb && \
dpkg -i telegraf_${TELEGRAF_VERSION}-1_${ARCH}.deb && \
setcap cap_net_raw+ep /usr/bin/telegraf && \
setcap net_bind_service+ep /usr/bin/telegraf && \
setcap cap_net_bind_service+ep /usr/bin/telegraf && \
rm -f telegraf_${TELEGRAF_VERSION}-1_${ARCH}.deb*
EXPOSE 8125/udp 8092/udp 8094
......
......@@ -24,7 +24,7 @@ RUN set -ex && \
mkdir /etc/telegraf/telegraf.d && \
cp -a /usr/src/telegraf*/usr/bin/telegraf /usr/bin/ && \
setcap cap_net_raw+ep /usr/bin/telegraf && \
setcap net_bind_service+ep /usr/bin/telegraf && \
setcap cap_net_bind_service+ep /usr/bin/telegraf && \
gpgconf --kill all && \
rm -rf *.tar.gz* /usr/src /root/.gnupg && \
apk del .build-deps && \
......
......@@ -15,7 +15,7 @@ RUN set -ex && \
mkdir /etc/telegraf/telegraf.d && \
cp -a /usr/src/telegraf*/usr/bin/telegraf /usr/bin/ && \
setcap cap_net_raw+ep /usr/bin/telegraf && \
setcap net_bind_service+ep /usr/bin/telegraf && \
setcap cap_net_bind_service+ep /usr/bin/telegraf && \
rm -rf *.tar.gz* /usr/src && \
apk del .build-deps && \
addgroup -S telegraf && \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment