Sign inSign up
couchdb logo

couchdb:3.4.2

Multi-platform
Also known as:
3
3.4
latest
Databases & storage
Index digest

sha256:2817ad50b5c5cf7461f5963670466197426605a790a19a6208068c509a2d8a59

OS/ARCH

Compressed size

126.39 MB

Last pushed

over 1 year by doijanky

Type

Image

Vulnerabilities

5
62
61
63
7

Manifest digest

sha256:4235c10986cf4e6ad6efd3854ebe699e66858a63362e63c99cef183da360a839

Layers (18)

debian:0641935435c0111c6458a76f2899127b333221442012f180f8d0e26dbe7526ff
2
31
31
36
4
couchdb:3.4.2
3
32
30
29
3

1

LABEL maintainer=CouchDB Developers [email protected]

0 B


2

RUN /bin/sh -c groupadd -g 5984 -r couchdb && useradd -u 5984 -d /opt/couchdb -g couchdb couchdb # buildkit

1.19 KB


3

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

7.65 MB


4

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

348.94 KB


5

ENV GPG_COUCH_KEY=390EF70BB1EA12B2773962950EE62FB37A00258D

0 B


6

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-key list; apt purge -y --autoremove curl; rm -rf /var/lib/apt/lists/* # buildkit

76.28 KB


7

ENV COUCHDB_VERSION=3.4.2

0 B


8

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

275 B


9

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 --allow-downgrades --allow-remove-essential --allow-change-held-packages couchdb="$COUCHDB_VERSION"~bookworm ; 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

96.4 MB


10

COPY --chown=couchdb:couchdb 10-docker-default.ini /opt/couchdb/etc/default.d/ # buildkit

380 B


11

COPY --chown=couchdb:couchdb vm.args /opt/couchdb/etc/ # buildkit

1.25 KB


12

COPY docker-entrypoint.sh /usr/local/bin # buildkit

2.23 KB


13

RUN /bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh /docker-entrypoint.sh # backwards compat # buildkit

122 B


14

ENTRYPOINT ["tini" "--" "/docker-entrypoint.sh"]

0 B


15

VOLUME [/opt/couchdb/data]

0 B


16

EXPOSE map[4369/tcp:{} 5984/tcp:{} 9100/tcp:{}]

0 B


17

CMD ["/opt/couchdb/bin/couchdb"]

0 B