mirror of
https://github.com/bitnami/containers.git
synced 2026-03-10 15:09:17 +08:00
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-152" --checksum 0694ae67645c416d9f6875e90c0f7cef379b4ac8030a6a5b8b5cc9ca77c6975d
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "influxdb" "2.3.0-1" --checksum 9ec31bfd768b6c73ecc78c91e185f15e80b2e1c9ee06d536a3a557c9b4622a99
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-152" --checksum 0c751c7e2ec0bc900a19dbec0306d6294fe744ddfb0fa64197ba1a36040092f0
|
|
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" ]
|