From 5aa0ab8fad599aab0bc6425c08a9bc247504e5d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franc=CC=A7ois=20Bonelle?= Date: Sun, 27 Aug 2023 17:42:26 +0200 Subject: [PATCH] fix --- telegraf/Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/telegraf/Dockerfile b/telegraf/Dockerfile index d0371b4..04c16bd 100755 --- a/telegraf/Dockerfile +++ b/telegraf/Dockerfile @@ -18,9 +18,6 @@ ENV \ PS1="$(whoami)@$(hostname):$(pwd)$ " \ TERM="xterm-256color" -# Copy root filesystem -COPY rootfs / - # Set shell SHELL ["/bin/bash", "-o", "pipefail", "-c"] @@ -42,6 +39,10 @@ RUN set -ex && \ apt-get install telegraf=${TELEGRAF_VERSION} && \ rm -rf /var/lib/apt/lists/* +# Copy root filesystem +COPY rootfs / + +WORKDIR /tmp EXPOSE 8125/udp 8092/udp 8094 # Labels