docker.io/getsentry/snuba:24.11.2 linux/amd64

docker.io/getsentry/snuba:24.11.2 - 国内下载镜像源 浏览次数:14

getsentry/snuba 镜像描述

这是一个由 Sentry 团队维护的 Snuba 容器镜像。Snuba 是一个高性能、可扩展的分析数据库,专门为 Sentry 的事件处理和分析而设计。

这个镜像包含了 Snuba 的所有必要组件,可以轻松地部署在您的基础设施中。您可以使用它来构建自己的 Sentry 实例或将其用作独立的分析数据库。

源镜像 docker.io/getsentry/snuba:24.11.2
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/getsentry/snuba:24.11.2
镜像ID sha256:37c922dc6ea3ed8c5dadc0c140f79ea35d81de2edbce8d5b36cf82c5f13a527d
镜像TAG 24.11.2
大小 1.14GB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD api
启动入口 ./docker_entrypoint.sh
工作目录 /usr/src/snuba
OS/平台 linux/amd64
浏览量 14 次
贡献者 fo***t@mlvw.team
镜像创建 2024-12-11T17:24:36.845750541Z
同步时间 2025-01-16 20:34
更新时间 2025-01-18 08:07
开放端口
1218/tcp 1219/tcp
环境变量
PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LANG=C.UTF-8 GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D PYTHON_VERSION=3.11.8 PYTHON_PIP_VERSION=24.0 PYTHON_SETUPTOOLS_VERSION=65.5.1 PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/dbf0c85f76fb6e1ab42aa672ffca6f0a675d9ee4/public/get-pip.py PYTHON_GET_PIP_SHA256=dfe9fd5c28dc98b5ac17979a953ea550cec37ae1b47a5116007395bfacff2ab9 PIP_NO_CACHE_DIR=off PIP_DISABLE_PIP_VERSION_CHECK=on LD_PRELOAD=/usr/src/snuba/libjemalloc.so.2 SNUBA_RELEASE=f979a8d735a3400d6775b0359bd809b38a7917c1 FLASK_DEBUG=0 PYTHONUNBUFFERED=1 PYTHONDONTWRITEBYTECODE=1 UWSGI_ENABLE_METRICS=true UWSGI_NEED_PLUGIN=/var/lib/uwsgi/dogstatsd UWSGI_STATS_PUSH=dogstatsd:127.0.0.1:8126 UWSGI_DOGSTATSD_EXTRA_TAGS=service:snuba

Docker拉取命令 无权限下载?点我修复

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/getsentry/snuba:24.11.2
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/getsentry/snuba:24.11.2  docker.io/getsentry/snuba:24.11.2

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/getsentry/snuba:24.11.2
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/getsentry/snuba:24.11.2  docker.io/getsentry/snuba:24.11.2

Shell快速替换命令

sed -i 's#getsentry/snuba:24.11.2#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/getsentry/snuba:24.11.2#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/getsentry/snuba:24.11.2 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/getsentry/snuba:24.11.2  docker.io/getsentry/snuba:24.11.2'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/getsentry/snuba:24.11.2 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/getsentry/snuba:24.11.2  docker.io/getsentry/snuba:24.11.2'

镜像构建历史


# 0001-01-01 08:00:00  598.79KB 执行命令并创建新的镜像层
RUN set -ex;     apt-get purge -y --auto-remove $(cat /tmp/build-deps.txt);     rm /tmp/build-deps.txt;     rm -rf /var/lib/apt/lists/*;
                        
# 0001-01-01 08:00:00  178.62MB 执行命令并创建新的镜像层
RUN set -ex;     groupadd -r snuba --gid 1000;     useradd -r -g snuba --uid 1000 snuba;     chown -R snuba:snuba ./;     rm -rf ./rust_snuba/;     [ -z "`find /tmp/rust_wheels -type f`" ] || pip install /tmp/rust_wheels/*;     rm -rf /tmp/rust_wheels/;     pip install -e .;     snuba --help
                        
# 0001-01-01 08:00:00  15.95MB 复制新文件或目录到容器中
COPY --from=build_admin_ui /usr/src/snuba/snuba/admin/dist/ ./snuba/admin/dist/
                        
# 0001-01-01 08:00:00  32.59MB 复制新文件或目录到容器中
COPY --from=build_rust_snuba /usr/src/snuba/rust_snuba/target/wheels/ /tmp/rust_wheels/
                        
# 0001-01-01 08:00:00  8.03MB 复制新文件或目录到容器中
COPY . ./
                        
# 0001-01-01 08:00:00  211.13MB 执行命令并创建新的镜像层
RUN set -ex;         pip install -r requirements.txt;     mkdir /tmp/uwsgi-dogstatsd;     wget -O - https://github.com/DataDog/uwsgi-dogstatsd/archive/bc56a1b5e7ee9e955b7a2e60213fc61323597a78.tar.gz     | tar -xvz -C /tmp/uwsgi-dogstatsd --strip-components=1;     uwsgi --build-plugin /tmp/uwsgi-dogstatsd;     rm -rf /tmp/uwsgi-dogstatsd .uwsgi_plugins_builder;     mkdir -p /var/lib/uwsgi;     mv dogstatsd_plugin.so /var/lib/uwsgi/;     python -c 'import os, sys; sys.setdlopenflags(sys.getdlopenflags() | os.RTLD_GLOBAL); import pyuwsgi; pyuwsgi.run()' --need-plugin=/var/lib/uwsgi/dogstatsd --help > /dev/null
                        
# 0001-01-01 08:00:00  1.00KB 复制新文件或目录到容器中
COPY requirements.txt ./
                        
# 0001-01-01 08:00:00  565.79MB 执行命令并创建新的镜像层
RUN set -ex;         buildDeps='         git         gcc         libc6-dev         liblz4-dev         libpcre3-dev         libssl-dev         wget         zlib1g-dev         pkg-config         cmake         make         g++         gnupg     ';     runtimeDeps='         curl         libjemalloc2         gdb         heaptrack     ';     apt-get update;     apt-get install -y $buildDeps $runtimeDeps --no-install-recommends;     pip install -r requirements-build.txt;     ln -s /usr/lib/*/libjemalloc.so.2 /usr/src/snuba/libjemalloc.so.2;     echo "$buildDeps" > /tmp/build-deps.txt
                        
# 0001-01-01 08:00:00  99.00B 复制新文件或目录到容器中
COPY requirements-build.txt ./
                        
# 0001-01-01 08:00:00  0.00B 设置工作目录为/usr/src/snuba
WORKDIR /usr/src/snuba
                        
# 2024-03-22 07:32:08  0.00B 设置默认要执行的命令
CMD ["python3"]
                        
# 2024-03-22 07:32:08  12.40MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 		savedAptMark="$(apt-mark showmanual)"; 	apt-get update; 	apt-get install -y --no-install-recommends wget; 		wget -O get-pip.py "$PYTHON_GET_PIP_URL"; 	echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; 		apt-mark auto '.*' > /dev/null; 	[ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; 	apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; 	rm -rf /var/lib/apt/lists/*; 		export PYTHONDONTWRITEBYTECODE=1; 		python get-pip.py 		--disable-pip-version-check 		--no-cache-dir 		--no-compile 		"pip==$PYTHON_PIP_VERSION" 		"setuptools==$PYTHON_SETUPTOOLS_VERSION" 	; 	rm -f get-pip.py; 		pip --version # buildkit
                        
# 2024-03-22 07:32:08  0.00B 设置环境变量 PYTHON_GET_PIP_SHA256
ENV PYTHON_GET_PIP_SHA256=dfe9fd5c28dc98b5ac17979a953ea550cec37ae1b47a5116007395bfacff2ab9
                        
# 2024-03-22 07:32:08  0.00B 设置环境变量 PYTHON_GET_PIP_URL
ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/dbf0c85f76fb6e1ab42aa672ffca6f0a675d9ee4/public/get-pip.py
                        
# 2024-03-22 07:32:08  0.00B 设置环境变量 PYTHON_SETUPTOOLS_VERSION
ENV PYTHON_SETUPTOOLS_VERSION=65.5.1
                        
# 2024-03-22 07:32:08  0.00B 设置环境变量 PYTHON_PIP_VERSION
ENV PYTHON_PIP_VERSION=24.0
                        
# 2024-03-22 07:32:08  32.00B 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 	for src in idle3 pydoc3 python3 python3-config; do 		dst="$(echo "$src" | tr -d 3)"; 		[ -s "/usr/local/bin/$src" ]; 		[ ! -e "/usr/local/bin/$dst" ]; 		ln -svT "$src" "/usr/local/bin/$dst"; 	done # buildkit
                        
# 2024-03-22 07:32:08  34.30MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 		savedAptMark="$(apt-mark showmanual)"; 	apt-get update; 	apt-get install -y --no-install-recommends 		dpkg-dev 		gcc 		gnupg 		libbluetooth-dev 		libbz2-dev 		libc6-dev 		libdb-dev 		libexpat1-dev 		libffi-dev 		libgdbm-dev 		liblzma-dev 		libncursesw5-dev 		libreadline-dev 		libsqlite3-dev 		libssl-dev 		make 		tk-dev 		uuid-dev 		wget 		xz-utils 		zlib1g-dev 	; 		wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; 	wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; 	GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; 	gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; 	gpg --batch --verify python.tar.xz.asc python.tar.xz; 	gpgconf --kill all; 	rm -rf "$GNUPGHOME" python.tar.xz.asc; 	mkdir -p /usr/src/python; 	tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; 	rm python.tar.xz; 		cd /usr/src/python; 	gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; 	./configure 		--build="$gnuArch" 		--enable-loadable-sqlite-extensions 		--enable-optimizations 		--enable-option-checking=fatal 		--enable-shared 		--with-lto 		--with-system-expat 		--without-ensurepip 	; 	nproc="$(nproc)"; 	EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; 	LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; 	LDFLAGS="${LDFLAGS:--Wl},--strip-all"; 	make -j "$nproc" 		"EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" 		"LDFLAGS=${LDFLAGS:-}" 		"PROFILE_TASK=${PROFILE_TASK:-}" 	; 	rm python; 	make -j "$nproc" 		"EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" 		"LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" 		"PROFILE_TASK=${PROFILE_TASK:-}" 		python 	; 	make install; 		cd /; 	rm -rf /usr/src/python; 		find /usr/local -depth 		\( 			\( -type d -a \( -name test -o -name tests -o -name idle_test \) \) 			-o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) 		\) -exec rm -rf '{}' + 	; 		ldconfig; 		apt-mark auto '.*' > /dev/null; 	apt-mark manual $savedAptMark; 	find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' 		| awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' 		| sort -u 		| xargs -r dpkg-query --search 		| cut -d: -f1 		| sort -u 		| xargs -r apt-mark manual 	; 	apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; 	rm -rf /var/lib/apt/lists/*; 		python3 --version # buildkit
                        
# 2024-03-22 07:32:08  0.00B 设置环境变量 PYTHON_VERSION
ENV PYTHON_VERSION=3.11.8
                        
# 2024-03-22 07:32:08  0.00B 设置环境变量 GPG_KEY
ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
                        
# 2024-03-22 07:32:08  9.23MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 	apt-get update; 	apt-get install -y --no-install-recommends 		ca-certificates 		netbase 		tzdata 	; 	rm -rf /var/lib/apt/lists/* # buildkit
                        
# 2024-03-22 07:32:08  0.00B 设置环境变量 LANG
ENV LANG=C.UTF-8
                        
# 2024-03-22 07:32:08  0.00B 设置环境变量 PATH
ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2024-03-12 09:21:01  0.00B 
/bin/sh -c #(nop)  CMD ["bash"]
                        
# 2024-03-12 09:21:01  74.77MB 
/bin/sh -c #(nop) ADD file:b86ae1c7ca3586d8feedcd9ff1b2b1e8ab872caf6587618f1da689045a5d7ae4 in / 
                        
                    

镜像信息

{
    "Id": "sha256:37c922dc6ea3ed8c5dadc0c140f79ea35d81de2edbce8d5b36cf82c5f13a527d",
    "RepoTags": [
        "getsentry/snuba:24.11.2",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/getsentry/snuba:24.11.2"
    ],
    "RepoDigests": [
        "getsentry/snuba@sha256:c1820c79085d41e3d2e726d67afb4f3d0069761499aa603c2b08447159ed2d92",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/getsentry/snuba@sha256:db2e2bb3b5a554eff0fddc8ac90f7f61fd9a9b708d1c559093cb33d092d38415"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2024-12-11T17:24:36.845750541Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "snuba",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "1218/tcp": {},
            "1219/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "LANG=C.UTF-8",
            "GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D",
            "PYTHON_VERSION=3.11.8",
            "PYTHON_PIP_VERSION=24.0",
            "PYTHON_SETUPTOOLS_VERSION=65.5.1",
            "PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/dbf0c85f76fb6e1ab42aa672ffca6f0a675d9ee4/public/get-pip.py",
            "PYTHON_GET_PIP_SHA256=dfe9fd5c28dc98b5ac17979a953ea550cec37ae1b47a5116007395bfacff2ab9",
            "PIP_NO_CACHE_DIR=off",
            "PIP_DISABLE_PIP_VERSION_CHECK=on",
            "LD_PRELOAD=/usr/src/snuba/libjemalloc.so.2",
            "SNUBA_RELEASE=f979a8d735a3400d6775b0359bd809b38a7917c1",
            "FLASK_DEBUG=0",
            "PYTHONUNBUFFERED=1",
            "PYTHONDONTWRITEBYTECODE=1",
            "UWSGI_ENABLE_METRICS=true",
            "UWSGI_NEED_PLUGIN=/var/lib/uwsgi/dogstatsd",
            "UWSGI_STATS_PUSH=dogstatsd:127.0.0.1:8126",
            "UWSGI_DOGSTATSD_EXTRA_TAGS=service:snuba"
        ],
        "Cmd": [
            "api"
        ],
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/usr/src/snuba",
        "Entrypoint": [
            "./docker_entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 1143399436,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/05e6d34d73c80ac03f5b721e00b7029ac67333a3d7fd635e875662cb9602da11/diff:/var/lib/docker/overlay2/f1fc3361e9af5dc608c59057431cfcba90cf5941700e75763d413dbb7d38d1e8/diff:/var/lib/docker/overlay2/45556a8d2dd2239ae6744c8d5fdbe3605946e3f81002ffe97e50056a25074b87/diff:/var/lib/docker/overlay2/7909b012b924aac58e55800614b993d2f6265265ebfd0df540288dea603f7e1a/diff:/var/lib/docker/overlay2/5f113df8bba9344675b1fae5b79a30ca50015c2b355d0545cc7892abf164437d/diff:/var/lib/docker/overlay2/3ac4aa18633661502018958dff4712880d8e96e2199150b4c9e53a0422f08b3c/diff:/var/lib/docker/overlay2/bbd035cb1c11be03c748b7c2cc5716b42e280bb56c5e76cd1152ea3d23927c7f/diff:/var/lib/docker/overlay2/6a7de009f81d8c1cac5d1a0b0cdb3103264550744753a4b35d584c2769942a7d/diff:/var/lib/docker/overlay2/09a20514a647e9c940b935016a80d50fefe96f8558d1f642469ddc3dd79dee2b/diff:/var/lib/docker/overlay2/f77a6567df525226e2050e7d960afcb5ffc9ffa935ea3cc4597b65278b9c6bd3/diff:/var/lib/docker/overlay2/a8b3f5ba922d0fa2f9aec2270ebfb8f8d9cf0dc856a01434fbc96f63d67dc9db/diff:/var/lib/docker/overlay2/62b71294728b8b353fc9413f3f75edf68f9b81c08d29be8639ebb6dd83f91848/diff:/var/lib/docker/overlay2/be6f99192aee10f4937c3e46b78e3afade774c6686df4a0d432af14077a78527/diff:/var/lib/docker/overlay2/cfdb35c66f0da209364a7efe05a41ae43fd16d67f3b7e3aa409ee23cab17d560/diff",
            "MergedDir": "/var/lib/docker/overlay2/a8ee98a01e4a1a79b9acc4e97dd1aaacf65872e1b493efed29ed4de64c730177/merged",
            "UpperDir": "/var/lib/docker/overlay2/a8ee98a01e4a1a79b9acc4e97dd1aaacf65872e1b493efed29ed4de64c730177/diff",
            "WorkDir": "/var/lib/docker/overlay2/a8ee98a01e4a1a79b9acc4e97dd1aaacf65872e1b493efed29ed4de64c730177/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:a483da8ab3e941547542718cacd3258c6c705a63e94183c837c9bc44eb608999",
            "sha256:c8f253aef5606f6716778771171c3fdf6aa135b76a5fa8bf66ba45c12c15b540",
            "sha256:9559125c0303b960274ed767b40a1a1950c500dd9e3f5ffea9418d156b787299",
            "sha256:010a290fc3d5487d6431681165ae41aca6278b077be77a285db6888154903022",
            "sha256:067693c93cf96e1757b12c3b57a46f0ef79e2499b4729c35a608bb2e915e64ee",
            "sha256:0c1a34950bebc79b99133fb25050908f723c2d9348168911fee01d833692c99f",
            "sha256:ef6f6ea2138f06e191af49d20a42fe604443122d1ae0ab9bd4054e07f424ca33",
            "sha256:5db002c1934e2a23d106d0881717366d89be992c57d6809912f3422d5461cc18",
            "sha256:e734120fdc3314fd1a121f8fe8a0b1d86dbb507ff642321d2ff6e0e1a2758693",
            "sha256:1cf0ba8de65bf6aa6b6dd47a8d85c0fef2bb9f9bdf5ccdb68343c7fd3e020291",
            "sha256:016bf2f5e8e3bf80d13c2310b50a53d457e19ac0b5b8eb96e2c1eb3c9ac9d44e",
            "sha256:990165cd2805043bdd4665929e8b83f2552265132bbcf12a211b348fc5559550",
            "sha256:61351afdf757547ee67cc25c6c8f5a507538fe991c5b2c6b4783aa4c722f1dc2",
            "sha256:3c3b41cfa0c0f964b152085b2bd5712ad3ffb898962f7c6da42f828d0f6ab1a1",
            "sha256:1815b6ea82d76f218dfa64c3762a5ca22a644b5aa98f73a20450d323a88d2212"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-01-16T20:33:42.489145298+08:00"
    }
}

更多版本

docker.io/getsentry/snuba:24.7.1

linux/amd64 docker.io1.31GB2024-10-21 15:25
103

docker.io/getsentry/snuba:nightly

linux/amd64 docker.io1.38GB2024-10-21 17:23
112

docker.io/getsentry/snuba:24.9.0

linux/amd64 docker.io1.38GB2024-11-08 15:15
62

docker.io/getsentry/snuba:24.12.1

linux/amd64 docker.io1.11GB2024-12-23 14:20
61

docker.io/getsentry/snuba:24.12.2

linux/amd64 docker.io1.11GB2025-01-16 18:49
16

docker.io/getsentry/snuba:24.11.2

linux/amd64 docker.io1.14GB2025-01-16 20:34
13