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.0-3" --checksum 7521d9a4f9e4e182bf32977e234026caa7b03759799868335bccb1edd8f8fd12
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "ini-file" "1.3.0-2" --checksum d89528e5d733f34ae030984584659ff10a36370d40332bd8d41c047764d39cda
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.12.0-2" --checksum 4d858ac600c38af8de454c27b7f65c0074ec3069880cb16d259a6e40a46bbc50
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "couchdb" "3.1.1-0" --checksum 4d8fa8a728657ef21809d79689b01fd1d302486271b620369c9ee33910ab52d6
|
|
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 BITNAMI_APP_NAME="couchdb" \
|
|
BITNAMI_IMAGE_VERSION="3.1.1-debian-10-r96" \
|
|
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" ]
|