Skip to content

Commit

Permalink
Upgrade Telegraf to 1.31.3 and added deye-controller
Browse files Browse the repository at this point in the history
  • Loading branch information
NIXKnight committed Aug 14, 2024
1 parent 6c41b73 commit 080f50d
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
FROM telegraf:1.31.1
FROM telegraf:1.31.3

ARG DEBIAN_FRONTEND noninteractive

ENV VIRTUAL_ENV="/opt/deye-controller"
ENV PATH="${VIRTUAL_ENV}/bin:${PATH}"

RUN set -eux; \
apt-get update; \
apt-get install -y --no-install-recommends lsb-release; \
Expand All @@ -12,6 +15,10 @@ RUN set -eux; \
} | tee /etc/apt/sources.list; \
apt-get update; \
apt-get -y dist-upgrade; \
apt-get install -y --no-install-recommends iputils-ping zfsutils-linux smartmontools nvme-cli; \
apt-get install -y --no-install-recommends iputils-ping zfsutils-linux smartmontools nvme-cli jq python-is-python3 python3-pip python3-venv; \
apt-get clean all; \
rm -r /var/lib/apt/lists /var/cache/apt/archives

RUN set -eux; \
python -m venv "${VIRTUAL_ENV}"; \
pip install deye-controller

0 comments on commit 080f50d

Please sign in to comment.