fix: add apt upgrade and apt clean to reduce CVEs
Some checks failed
Build and push telegraf-snmp-unifi image / build-and-push-image (push) Failing after 1m40s
Some checks failed
Build and push telegraf-snmp-unifi image / build-and-push-image (push) Failing after 1m40s
This commit is contained in:
parent
18888f319a
commit
dc121ae8e5
@ -2,8 +2,10 @@ FROM buildpack-deps:bookworm-curl
|
||||
LABEL org.opencontainers.image.authors="dockerimage@dresi.wtf"
|
||||
|
||||
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
|
||||
DEBIAN_FRONTEND=noninteractive apt-get upgrade -y && \
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
||||
iputils-ping snmp procps lm-sensors libcap2-bin && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN wget -q -O - https://repos.influxdata.com/influxdata-archive_compat.key | \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user