couchdb (9db3803ec4b66a4eda1d6c97f93851e02bbcfa9d)
Published 2026-11-24 14:55:41 +00:00 by botua
Installation
docker pull gitea.bitua.io/bitua/couchdb:9db3803ec4b66a4eda1d6c97f93851e02bbcfa9dsha256:97cb3a14171f5f67a53a35fde769ff41bc822cc38c2af6ddf1ec43239e26acd5
Images
| Digest | OS / Arch | Size |
|---|---|---|
| 47469eee3f | linux/amd64 | 180 MiB |
| 950556972f | linux/arm64 | 180 MiB |
Image Layers ( linux/amd64)
| # debian.sh --arch 'amd64' out/ 'trixie' '@1795392000' |
| LABEL maintainer=CouchDB Developers dev@couchdb.apache.org |
| RUN /bin/sh -c groupadd -g 5984 -r couchdb && useradd -u 5984 -d /opt/couchdb -g couchdb couchdb # buildkit |
| RUN /bin/sh -c set -ex; apt-get update; apt-get install -y --no-install-recommends apt-transport-https ca-certificates dirmngr gnupg ; rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends tini; rm -rf /var/lib/apt/lists/*; tini --version # buildkit |
| ENV GPG_COUCH_KEY=390EF70BB1EA12B2773962950EE62FB37A00258D |
| RUN /bin/sh -c set -eux; apt-get update; apt-get install -y curl; export GNUPGHOME="$(mktemp -d)"; curl -fL -o keys.asc https://couchdb.apache.org/repo/keys.asc; gpg --batch --import keys.asc; gpg --batch --export "${GPG_COUCH_KEY}" > /usr/share/keyrings/couchdb-archive-keyring.gpg; command -v gpgconf && gpgconf --kill all || :; rm -rf "$GNUPGHOME"; apt purge -y --autoremove curl; rm -rf /var/lib/apt/lists/* # buildkit |
| ENV COUCHDB_VERSION=3.5.3 |
| RUN /bin/sh -c . /etc/os-release; echo "deb [signed-by=/usr/share/keyrings/couchdb-archive-keyring.gpg] https://apache.jfrog.io/artifactory/couchdb-deb/ ${VERSION_CODENAME} main" | tee /etc/apt/sources.list.d/couchdb.list >/dev/null # buildkit |
| RUN /bin/sh -c set -eux; apt-get update; echo "couchdb couchdb/mode select none" | debconf-set-selections; DEBIAN_FRONTEND=noninteractive apt-get install -y couchdb="$COUCHDB_VERSION"~trixie ; rmdir /var/lib/couchdb /var/log/couchdb; rm /opt/couchdb/data /opt/couchdb/var/log; mkdir -p /opt/couchdb/data /opt/couchdb/var/log; chown couchdb:couchdb /opt/couchdb/data /opt/couchdb/var/log; chmod 777 /opt/couchdb/data /opt/couchdb/var/log; rm /opt/couchdb/etc/default.d/10-filelog.ini; find /opt/couchdb \! \( -user couchdb -group couchdb \) -exec chown -f couchdb:couchdb '{}' +; find /opt/couchdb/etc -type d ! -perm 0755 -exec chmod -f 0755 '{}' +; find /opt/couchdb/etc -type f ! -perm 0644 -exec chmod -f 0644 '{}' +; chmod -f 0777 /opt/couchdb/etc/local.d; rm -rf /var/lib/apt/lists/*; # buildkit |
| COPY --chown=couchdb:couchdb 10-docker-default.ini /opt/couchdb/etc/default.d/ # buildkit |
| COPY --chown=couchdb:couchdb vm.args /opt/couchdb/etc/ # buildkit |
| COPY docker-entrypoint.sh /usr/local/bin # buildkit |
| RUN /bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh /docker-entrypoint.sh # backwards compat # buildkit |
| ENTRYPOINT ["tini" "--" "/docker-entrypoint.sh"] |
| VOLUME [/opt/couchdb/data] |
| EXPOSE map[4369/tcp:{} 5984/tcp:{} 9100/tcp:{}] |
| CMD ["/opt/couchdb/bin/couchdb"] |
| COPY /usr/local/bin/bun /usr/local/bin/bun # buildkit |
| USER root |
| COPY images/couchdb/10-bitua-options.ini /opt/couchdb/etc/default.d/10-bitua-options.ini # buildkit |
| COPY images/couchdb/entrypoint.ts /usr/local/bin/entrypoint.ts # buildkit |
| RUN /bin/sh -c chown couchdb:couchdb /opt/couchdb/etc/default.d/10-bitua-options.ini # buildkit |
| EXPOSE 5984/tcp |
| ENTRYPOINT [] |
| CMD ["bun" "run" "/usr/local/bin/entrypoint.ts"] |
Labels
| Key | Value |
|---|---|
| maintainer | CouchDB Developers dev@couchdb.apache.org |
Details
2026-11-24 14:55:41 +00:00
Versions (64)
View all
Container
11
OCI / Docker
stable
2026-11-24
3.5.3-1
2026-11-24
latest
2026-11-24
9db3803ec4b66a4eda1d6c97f93851e02bbcfa9d
2026-11-24