diff --git a/docker/Dockerfile b/docker/Dockerfile index 5fded1e..1bebc81 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -41,10 +41,11 @@ RUN apt-get update && apt-get install -y cron smartmontools ca-certificates curl "arm64") S6_ARCH=aarch64 ;; \ 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 \ - && tar xzf /tmp/s6-overlay-${S6_ARCH}.tar.gz -C / - -ADD https://dl.influxdata.com/influxdb/releases/influxdb2-2.2.0-${TARGETARCH}.deb /tmp/ -RUN dpkg -i /tmp/influxdb2-2.2.0-${TARGETARCH}.deb && rm -rf /tmp/influxdb2-2.2.0-${TARGETARCH}.deb + && tar xzf /tmp/s6-overlay-${S6_ARCH}.tar.gz -C / \ + && rm -rf /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 \ + && dpkg -i /tmp/influxdb2-2.2.0-${TARGETARCH}.deb \ + && rm -rf /tmp/influxdb2-2.2.0-${TARGETARCH}.deb COPY /rootfs /