32 lines
1.3 KiB
Docker
32 lines
1.3 KiB
Docker
FROM docker.io/bitnami/minideb:buster
|
|
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
|
|
|
ENV HOME="/" \
|
|
OS_ARCH="amd64" \
|
|
OS_FLAVOUR="debian-10" \
|
|
OS_NAME="linux"
|
|
|
|
COPY prebuildfs /
|
|
# Install required system packages and dependencies
|
|
RUN install_packages acl ca-certificates curl gzip libc6 libgcc1 procps tar
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "wait-for-port" "1.0.3-0" --checksum 0603c8eaf6d24e76563431e36e512da06bfebb3a06ede31b3e84d9879213c162
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "influxdb" "2.2.0-0" --checksum 1aac0d4dd91fbc2e7300235926c3108cf54e90aac72aed6602f6c7fce7286352
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-7" --checksum d6280b6f647a62bf6edc74dc8e526bfff63ddd8067dcb8540843f47203d9ccf1
|
|
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.2.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" ]
|