-
Notifications
You must be signed in to change notification settings - Fork 262
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from flashcatcloud/new_dockerfile
new base image
- Loading branch information
Showing
3 changed files
with
6 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
FROM alpine:3.15 | ||
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"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters