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

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

getsentry/snuba 镜像描述

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

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

源镜像 docker.io/getsentry/snuba:24.12.1
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/getsentry/snuba:24.12.1
镜像ID sha256:21cb9dbf2b74c2ffc04c818dcb814c9cb1d2e2a6725d1715c081896a9cd57d79
镜像TAG 24.12.1
大小 1.11GB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD api
启动入口 ./docker_entrypoint.sh
工作目录 /usr/src/snuba
OS/平台 linux/amd64
浏览量 62 次
贡献者
镜像创建 2024-12-21T13:11:53.245454949Z
同步时间 2024-12-23 14:20
更新时间 2025-01-18 04:39
开放端口
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=949e29dbd614d21088a4312e609ea64ad322e310 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
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 12.5 扫描引擎: Trivy 扫描时间: 2024-12-23 14:22

低危漏洞:89 中危漏洞:37 高危漏洞:32 严重漏洞:8

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 0001-01-01 08:00:00  598.80KB 执行命令并创建新的镜像层
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  149.38MB 执行命令并创建新的镜像层
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  28.82MB 复制新文件或目录到容器中
COPY --from=build_rust_snuba /usr/src/snuba/rust_snuba/target/wheels/ /tmp/rust_wheels/
                        
# 0001-01-01 08:00:00  8.11MB 复制新文件或目录到容器中
COPY . ./
                        
# 0001-01-01 08:00:00  211.21MB 执行命令并创建新的镜像层
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.83MB 执行命令并创建新的镜像层
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:21cb9dbf2b74c2ffc04c818dcb814c9cb1d2e2a6725d1715c081896a9cd57d79",
    "RepoTags": [
        "getsentry/snuba:24.12.1",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/getsentry/snuba:24.12.1"
    ],
    "RepoDigests": [
        "getsentry/snuba@sha256:5c8da87a3111b28b2b4ffcdba03d195d3af1de8f53a6bc6130e1186160db368f",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/getsentry/snuba@sha256:e71a6fbc1e62330a2449262e386c41dc0f6c8b3e28175691388b90380998e569"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2024-12-21T13:11:53.245454949Z",
    "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=949e29dbd614d21088a4312e609ea64ad322e310",
            "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": 1110584969,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/4a30effd886be95e990395d3050a0199dd482bbf88a226282f78682abf8dfdc2/diff:/var/lib/docker/overlay2/fe5e76e50ef81ec1b2d827343b11e30be2e91050ec10dcca307a4f00c1a30cd0/diff:/var/lib/docker/overlay2/9e48b16a7421e1e3c976885d7991d8d363c9cadc86770c044707b135c169ea1b/diff:/var/lib/docker/overlay2/128971730e56551655b9d1146b6c4fcaae7ec4f8b385a9ff52c628a00cb9344d/diff:/var/lib/docker/overlay2/61af8958607cd41137c3a0edadab3269dadffb377bde6f927db0a3864bf3dc85/diff:/var/lib/docker/overlay2/816fbef6d5c6c9a61b8860f9c3c15b047eee5a9e1f34cbaef3213e20c93c0f67/diff:/var/lib/docker/overlay2/99ed9e9d8132f99a251274c8616d6d9caa439400822a6dd9d8a0c694d82d4ed3/diff:/var/lib/docker/overlay2/04fdbba1dcd655541ee86ba92b8e4192c09b278e7f22a0c22295965a89b2f53e/diff:/var/lib/docker/overlay2/054caf4fb189f93d423389697ff0607f721045e177ec6d14537eef5ff7b251df/diff:/var/lib/docker/overlay2/a413e2162d54e9b91d143c964b815c210e7e0272df3d8f1405d5c3f4102598f0/diff:/var/lib/docker/overlay2/e3f44ae6de66880c3e0577e3923841fc6d47d92b07c30f76c67518e3c1233e69/diff:/var/lib/docker/overlay2/b4572851e9bb50ae7900e9e9de3269a19f533dcedd028b64cc2f90a5eadd74ea/diff:/var/lib/docker/overlay2/023cb13fb33a7a744e3d6f39463289357a4ba22424fbe8d2eecb63c39b0f7ded/diff:/var/lib/docker/overlay2/b5d3e7ac2c1324d839e40a64a285a62d7eaa59a83d0be96d675166da9710bc03/diff",
            "MergedDir": "/var/lib/docker/overlay2/4b83e1196a5abf3ff20eb905ea9cddebb765aaf02f8f308cf7689090b5c6d3fe/merged",
            "UpperDir": "/var/lib/docker/overlay2/4b83e1196a5abf3ff20eb905ea9cddebb765aaf02f8f308cf7689090b5c6d3fe/diff",
            "WorkDir": "/var/lib/docker/overlay2/4b83e1196a5abf3ff20eb905ea9cddebb765aaf02f8f308cf7689090b5c6d3fe/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:a483da8ab3e941547542718cacd3258c6c705a63e94183c837c9bc44eb608999",
            "sha256:c8f253aef5606f6716778771171c3fdf6aa135b76a5fa8bf66ba45c12c15b540",
            "sha256:9559125c0303b960274ed767b40a1a1950c500dd9e3f5ffea9418d156b787299",
            "sha256:010a290fc3d5487d6431681165ae41aca6278b077be77a285db6888154903022",
            "sha256:067693c93cf96e1757b12c3b57a46f0ef79e2499b4729c35a608bb2e915e64ee",
            "sha256:d2bd59b578dce2b7314d98b22c71e7b75067a82b74cbfdb7982fb6981690109b",
            "sha256:0a6e212197e2706b07d43988a5191d4775566629824a95fb62ad9b2986be56a3",
            "sha256:b167711b0f065ce33f57e7aaa9724b8187b1f244ddacc939f57d6b57d5b5f55b",
            "sha256:02fb7d41e1468a6ae068cc95c001c29df29b331f62f40b745ac65feecd52180a",
            "sha256:b62af81675151cceba5a1fdf8e4025c81d69bf4615a4bf9b98843b9eee963951",
            "sha256:fab48efab7ace178cb1cb81b27a24ff2932c07cf5af5e8827d5bf9ab79dcb558",
            "sha256:622c77f663c67b40c19b7fcff76af6b68cbf113e710c2912e0e369dc3d6dac7e",
            "sha256:3264395033234754e439349ae7b5595aab2b588e526d3b796cdf6fb9c6da0677",
            "sha256:4be8a360ba2fb1c53fb2dcfa2719c05dbfe0ac0533da4d003d0ab57e27d8feee",
            "sha256:b4045834f779d2245605bc53eb11a7d29e5b81421fa44fef3f87e6aca3a72510"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-12-23T14:19:48.551560809+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
113

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
17

docker.io/getsentry/snuba:24.11.2

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