Skip to content

Commit

Permalink
new base image
Browse files Browse the repository at this point in the history
  • Loading branch information
kongfei605 committed Jun 14, 2022
1 parent ba0cbe0 commit e7469b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]
2 changes: 0 additions & 2 deletions docker/Dockerfile.goreleaser
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit e7469b9

Please sign in to comment.