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.3-0" --checksum 0603c8eaf6d24e76563431e36e512da06bfebb3a06ede31b3e84d9879213c162
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "ini-file" "1.4.3-0" --checksum 2c9ca79a0586a4ec64c66aceda27ebab1ea877dc63982203b5eb71150e00a5e9
|
|
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.2-0" --checksum fa600b667630a0695d48d4386929103a7520b5b3dde754513a24639490056b4f
|
|
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.2" \
|
|
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" ]
|