new base image
This commit is contained in:
parent
ba0cbe0081
commit
e7469b926d
|
@ -1,14 +1,14 @@
|
|||
FROM ubuntu:22.10
|
||||
|
||||
RUN echo 'hosts: files dns' >> /etc/nsswitch.conf
|
||||
RUN apk add --no-cache iputils ca-certificates net-snmp-tools procps lm_sensors tzdata su-exec libcap wget tar libc6-compat file && \
|
||||
update-ca-certificates
|
||||
|
||||
RUN set -ex && \
|
||||
mkdir -p /usr/bin /etc/categraf
|
||||
|
||||
COPY conf /etc/categraf/conf
|
||||
COPY categraf /usr/bin/categraf
|
||||
|
||||
COPY conf /etc/categraf/conf
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
CMD ["/entrypoint.sh"]
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
FROM --platform=$BUILDPLATFORM ubuntu:22.10
|
||||
|
||||
RUN echo 'hosts: files dns' >> /etc/nsswitch.conf
|
||||
RUN apk add --no-cache iputils ca-certificates net-snmp-tools procps lm_sensors tzdata su-exec libcap wget tar libc6-compat file && \
|
||||
update-ca-certificates
|
||||
|
||||
RUN set -ex && \
|
||||
mkdir -p /usr/bin /etc/categraf
|
||||
|
|
Loading…
Reference in New Issue