31 lines
1.3 KiB
Docker
31 lines
1.3 KiB
Docker
FROM docker.io/bitnami/minideb:bullseye
|
|
ENV HOME="/" \
|
|
OS_ARCH="amd64" \
|
|
OS_FLAVOUR="debian-11" \
|
|
OS_NAME="linux"
|
|
|
|
COPY prebuildfs /
|
|
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
|
# Install required system packages and dependencies
|
|
RUN install_packages acl ca-certificates curl gzip libc6 libgcc-s1 procps tar
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "wait-for-port" "1.0.3-150" --checksum 1013e2ebbe58e5dc8f3c79fc952f020fc5306ba48463803cacfbed7779173924
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "influxdb" "2.3.0-0" --checksum 9f2ab1cf903dcb34767e9bdb6bea394d35e0cc60f44dc8f4f5cdc0d9aae58aa4
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-150" --checksum da4a2f759ccc57c100d795b71ab297f48b31c4dd7578d773d963bbd49c42bd7b
|
|
RUN apt-get update && apt-get upgrade -y && \
|
|
rm -r /var/lib/apt/lists /var/cache/apt/archives
|
|
RUN chmod g+rwX /opt/bitnami
|
|
|
|
COPY rootfs /
|
|
RUN /opt/bitnami/scripts/influxdb/postunpack.sh
|
|
ENV APP_VERSION="2.3.0" \
|
|
BITNAMI_APP_NAME="influxdb" \
|
|
PATH="/opt/bitnami/common/bin:/opt/bitnami/influxdb/bin:$PATH"
|
|
|
|
VOLUME [ "/bitnami/influxdb" ]
|
|
|
|
EXPOSE 8086 8088
|
|
|
|
USER 1001
|
|
ENTRYPOINT [ "/opt/bitnami/scripts/influxdb/entrypoint.sh" ]
|
|
CMD [ "/opt/bitnami/scripts/influxdb/run.sh" ]
|