|
|
@ -33,7 +33,6 @@ WORKDIR /opt/scrutiny
|
|
|
|
ENV PATH="/opt/scrutiny/bin:${PATH}"
|
|
|
|
ENV PATH="/opt/scrutiny/bin:${PATH}"
|
|
|
|
ENV INFLUXD_CONFIG_PATH=/opt/scrutiny/influxdb
|
|
|
|
ENV INFLUXD_CONFIG_PATH=/opt/scrutiny/influxdb
|
|
|
|
|
|
|
|
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
|
|
|
RUN apt-get update && apt-get install -y cron smartmontools ca-certificates curl tzdata \
|
|
|
|
RUN apt-get update && apt-get install -y cron smartmontools ca-certificates curl tzdata \
|
|
|
|
&& update-ca-certificates \
|
|
|
|
&& update-ca-certificates \
|
|
|
|
&& case ${TARGETARCH} in \
|
|
|
|
&& case ${TARGETARCH} in \
|
|
|
@ -41,11 +40,11 @@ RUN apt-get update && apt-get install -y cron smartmontools ca-certificates curl
|
|
|
|
"arm64") S6_ARCH=aarch64 ;; \
|
|
|
|
"arm64") S6_ARCH=aarch64 ;; \
|
|
|
|
esac \
|
|
|
|
esac \
|
|
|
|
&& curl https://github.com/just-containers/s6-overlay/releases/download/v1.21.8.0/s6-overlay-${S6_ARCH}.tar.gz -L -s --output /tmp/s6-overlay-${S6_ARCH}.tar.gz \
|
|
|
|
&& curl https://github.com/just-containers/s6-overlay/releases/download/v1.21.8.0/s6-overlay-${S6_ARCH}.tar.gz -L -s --output /tmp/s6-overlay-${S6_ARCH}.tar.gz \
|
|
|
|
&& tar xzf /tmp/s6-overlay-${S6_ARCH}.tar.gz -C / \
|
|
|
|
&& tar xzf /tmp/s6-overlay-${S6_ARCH}.tar.gz -C / --exclude="./bin" \
|
|
|
|
|
|
|
|
&& tar xzf /tmp/s6-overlay-${S6_ARCH}.tar.gz -C /usr ./bin \
|
|
|
|
&& rm -rf /tmp/s6-overlay-${S6_ARCH}.tar.gz \
|
|
|
|
&& rm -rf /tmp/s6-overlay-${S6_ARCH}.tar.gz \
|
|
|
|
&& curl https://dl.influxdata.com/influxdb/releases/influxdb2-2.2.0-${TARGETARCH}.deb -L -s --output /tmp/influxdb2-2.2.0-${TARGETARCH}.deb \
|
|
|
|
&& curl -L https://dl.influxdata.com/influxdb/releases/influxdb2-2.2.0-${TARGETARCH}.deb --output /tmp/influxdb2-2.2.0-${TARGETARCH}.deb \
|
|
|
|
&& dpkg -i --force-all /tmp/influxdb2-2.2.0-${TARGETARCH}.deb || true \
|
|
|
|
&& dpkg -i --force-all /tmp/influxdb2-2.2.0-${TARGETARCH}.deb
|
|
|
|
&& rm -rf /tmp/influxdb2-2.2.0-${TARGETARCH}.deb
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
COPY /rootfs /
|
|
|
|
COPY /rootfs /
|
|
|
|
|
|
|
|
|
|
|
|