fix: remove apt install/remove of wget, already in telegraf:latest
Some checks failed
Build and push telegraf-snmp image / build-and-push-image (push) Failing after 1m28s
Some checks failed
Build and push telegraf-snmp image / build-and-push-image (push) Failing after 1m28s
This commit is contained in:
parent
1021800126
commit
018c6373b1
@ -1,14 +1,8 @@
|
||||
FROM telegraf:latest
|
||||
LABEL org.opencontainers.image.authors="dockerimage@dresi.wtf"
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends wget && \
|
||||
wget -q -O /usr/share/snmp/mibs/UBNT-MIB \
|
||||
RUN wget -q -O /usr/share/snmp/mibs/UBNT-MIB \
|
||||
https://raw.githubusercontent.com/librenms/librenms/master/mibs/ubiquiti/UBNT-MIB && \
|
||||
wget -q -O /usr/share/snmp/mibs/UBNT-UniFi-MIB \
|
||||
https://raw.githubusercontent.com/librenms/librenms/master/mibs/ubiquiti/UBNT-UniFi-MIB && \
|
||||
echo "mibs +ALL" >> /etc/snmp/snmp.conf && \
|
||||
apt-get remove -y wget && \
|
||||
apt-get clean autoclean && \
|
||||
apt-get autoremove -y && \
|
||||
rm -rf /var/lib/{apt,dpkg,cache,log}/
|
||||
echo "mibs +ALL" >> /etc/snmp/snmp.conf
|
||||
|
||||
Loading…
Reference in New Issue
Block a user