|
|
|
@ -35,11 +35,11 @@ ENV INFLUXD_CONFIG_PATH=/scrutiny/influxdb
|
|
|
|
|
|
|
|
|
|
RUN apt-get update && apt-get install -y cron smartmontools=7.0-0ubuntu1~ubuntu18.04.1 ca-certificates curl tzdata \
|
|
|
|
|
&& update-ca-certificates \
|
|
|
|
|
&& case ${TARGETARCH} in \
|
|
|
|
|
RUN case ${TARGETARCH} in \
|
|
|
|
|
"amd64") S6_ARCH=amd64 ;; \
|
|
|
|
|
"arm64") S6_ARCH=aarch64 ;; \
|
|
|
|
|
esac \
|
|
|
|
|
&& wget -q https://github.com/just-containers/s6-overlay/releases/download/v1.21.8.0/s6-overlay-${S6_ARCH}.tar.gz -O /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 /
|
|
|
|
|
|
|
|
|
|
ADD https://dl.influxdata.com/influxdb/releases/influxdb2-2.2.0-${TARGETARCH}.deb /tmp/
|
|
|
|
|