This commit is contained in:
2023-08-27 17:42:26 +02:00
parent a7c9ca3f2f
commit 5aa0ab8fad

View File

@@ -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