34 lines
1.5 KiB
Docker
34 lines
1.5 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 libicu63 libssl1.1 libstdc++6 libtinfo6 procps tar zlib1g
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "wait-for-port" "1.0.1-10" --checksum 35c818ba3f4b5aae905959bc7d3a5e81fc63786e3c662b604612c0aa7fcda8fd
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "ini-file" "1.4.1-7" --checksum 7a4f45cbebd2e242278060415dd1a3f0dbe68991fdcaea5bb311e8de54a3e027
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-7" --checksum d6280b6f647a62bf6edc74dc8e526bfff63ddd8067dcb8540843f47203d9ccf1
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "couchdb" "3.2.1-9" --checksum 94c1226983b395663ad91d40c7df89f92a35d7a86eb7da9dea6f38987c8529b1
|
|
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/couchdb/postunpack.sh
|
|
ENV APP_VERSION="3.2.1" \
|
|
BITNAMI_APP_NAME="couchdb" \
|
|
LD_LIBRARY_PATH="/opt/bitnami/common/lib:$LD_LIBRARY_PATH" \
|
|
PATH="/opt/bitnami/common/bin:/opt/bitnami/couchdb/bin:$PATH"
|
|
|
|
VOLUME [ "/bitnami/couchdb" ]
|
|
|
|
EXPOSE 4369 5984 9100
|
|
|
|
USER 1001
|
|
ENTRYPOINT [ "/opt/bitnami/scripts/couchdb/entrypoint.sh" ]
|
|
CMD [ "/opt/bitnami/scripts/couchdb/run.sh" ]
|