Sign inSign up
clickhouse logo

clickhouse:jammy

Multi-platform
Also known as:
26.9
26.9-jammy
26.9.8
26.9.8-jammy
26.9.8.3
26.9.8.3-jammy
latest
Databases & storage
Index digest

sha256:d88288fa30ffd5dcc3edaf49c7cbb7af582d977b05ece9ffe9c7579e19172a82

OS/ARCH

Compressed size

259.78 MB

Last pushed

about 7 hours by doijanky

Type

Image

Vulnerabilities

0
1
12
12
0

Manifest digest

sha256:c8e65a704d49ddcf58bc209739c3e503a11491ddd7112f92809e6f7fe73f8f63

Layers (25)

ubuntu:22.04
0
1
7
12
0
clickhouse:jammy
0
0
7
0
0

5

ARG DEBIAN_FRONTEND=noninteractive

0 B


6

ARG apt_archive=http://archive.ubuntu.com

0 B


7

ARG apt_ports_archive=http://ports.ubuntu.com

0 B


8

RUN |3 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com apt_ports_archive=http://ports.ubuntu.com /bin/sh -c sed -i -e "s|http://archive.ubuntu.com|${apt_archive}|g" -e "s|http://ports.ubuntu.com|${apt_ports_archive}|g" /etc/apt/sources.list && groupadd -r clickhouse --gid=101 && useradd -r -g clickhouse --uid=101 --home-dir=/var/lib/clickhouse --shell=/bin/bash clickhouse && apt-get update --error-on=any && apt-get install --yes --no-install-recommends busybox ca-certificates locales tzdata wget && busybox --install -s && rm -rf /var/lib/apt/lists/* /var/cache/debconf /tmp/* # buildkit

7.53 MB


9

ARG REPO_CHANNEL=stable

0 B


10

ARG REPOSITORY=deb [signed-by=/usr/share/keyrings/clickhouse-keyring.gpg] https://packages.clickhouse.com/deb stable main

0 B


11

ARG VERSION=26.9.8.3

0 B


12

ARG PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static

0 B


13

RUN |7 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com apt_ports_archive=http://ports.ubuntu.com REPO_CHANNEL=stable REPOSITORY=deb [signed-by=/usr/share/keyrings/clickhouse-keyring.gpg] https://packages.clickhouse.com/deb stable main VERSION=26.9.8.3 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static /bin/sh -c clickhouse local -q 'SELECT 1' >/dev/null 2>&1 && exit 0 || : ; apt-get update --error-on=any && apt-get install --yes --no-install-recommends dirmngr gnupg2 && mkdir -p /etc/apt/sources.list.d && GNUPGHOME=$(mktemp -d) && ( set +e; for KEYSERVER in hkp://keys.openpgp.org:80 hkp://pgp.mit.edu:80 hkp://keyserver.ubuntu.com:80; do GNUPGHOME="$GNUPGHOME" gpg --batch --no-default-keyring --keyring /usr/share/keyrings/clickhouse-keyring.gpg --keyserver "$KEYSERVER" --recv-keys 3a9ea1193a97b548be1457d48919f6bd2b48d754 && break; done || exit 1 ) && rm -rf "$GNUPGHOME" && chmod +r /usr/share/keyrings/clickhouse-keyring.gpg && echo "${REPOSITORY}" > /etc/apt/sources.list.d/clickhouse.list && echo "installing from repository: ${REPOSITORY}" && apt-get update --error-on=any && for package in ${PACKAGES}; do packages="${packages} ${package}=${VERSION}" ; done && apt-get install --yes --no-install-recommends ${packages} || exit 1 && rm -rf /var/lib/apt/lists/* /var/cache/debconf /tmp/* && apt-get autoremove --purge -yq dirmngr gnupg2 && chmod ugo+Xrw -R /etc/clickhouse-server /etc/clickhouse-client # buildkit

236.31 MB


14

RUN |7 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com apt_ports_archive=http://ports.ubuntu.com REPO_CHANNEL=stable REPOSITORY=deb [signed-by=/usr/share/keyrings/clickhouse-keyring.gpg] https://packages.clickhouse.com/deb stable main VERSION=26.9.8.3 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static /bin/sh -c clickhouse-local -q 'SELECT * FROM system.build_options' && mkdir -p /var/lib/clickhouse /var/log/clickhouse-server /etc/clickhouse-server /etc/clickhouse-client && chmod ugo+Xrw -R /var/lib/clickhouse /var/log/clickhouse-server /etc/clickhouse-server /etc/clickhouse-client # buildkit

183 B


15

RUN |7 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com apt_ports_archive=http://ports.ubuntu.com REPO_CHANNEL=stable REPOSITORY=deb [signed-by=/usr/share/keyrings/clickhouse-keyring.gpg] https://packages.clickhouse.com/deb stable main VERSION=26.9.8.3 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static /bin/sh -c locale-gen en_US.UTF-8 # buildkit

865.75 KB


16

ENV LANG=en_US.UTF-8

0 B


17

ENV TZ=UTC

0 B


18

RUN |7 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com apt_ports_archive=http://ports.ubuntu.com REPO_CHANNEL=stable REPOSITORY=deb [signed-by=/usr/share/keyrings/clickhouse-keyring.gpg] https://packages.clickhouse.com/deb stable main VERSION=26.9.8.3 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit

114 B


19

COPY docker_related_config.xml /etc/clickhouse-server/config.d/ # buildkit

363 B


20

COPY entrypoint.sh /entrypoint.sh # buildkit

3.9 KB


21

EXPOSE map[8123/tcp:{} 9000/tcp:{} 9009/tcp:{}]

0 B


22

VOLUME [/var/lib/clickhouse]

0 B


23

ENV CLICKHOUSE_CONFIG=/etc/clickhouse-server/config.xml

0 B


24

ENTRYPOINT ["/entrypoint.sh"]

0 B