@@ -18,6 +18,9 @@ ENV \
|
||||
PS1="$(whoami)@$(hostname):$(pwd)$ " \
|
||||
TERM="xterm-256color"
|
||||
|
||||
# Copy root filesystem
|
||||
COPY rootfs /
|
||||
|
||||
# Set shell
|
||||
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||
|
||||
@@ -39,10 +42,6 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user