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

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

getsentry/snuba 镜像描述

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

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

源镜像 docker.io/getsentry/snuba:24.9.0
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/getsentry/snuba:24.9.0
镜像ID sha256:e463ab3466d6e3c17ebfd18912d08257643db0cf294ad9646dea376fcf3a230d
镜像TAG 24.9.0
大小 1.38GB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD api
启动入口 ./docker_entrypoint.sh
工作目录 /usr/src/snuba
OS/平台 linux/amd64
浏览量 28 次
贡献者
镜像创建 2024-09-15T17:12:06.270539137Z
同步时间 2024-11-08 15:15
更新时间 2024-11-19 16:56
开放端口
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=530bd23d39ca27a2f1c6e5856c1128f607118bd4 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-11-08 15:17

低危漏洞:96 中危漏洞:47 高危漏洞:38 严重漏洞:7

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
598.56KB 0001-01-01 08:00:00 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/*;
169.19MB 0001-01-01 08:00:00 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
11.99MB 0001-01-01 08:00:00 COPY --from=build_admin_ui /usr/src/snuba/snuba/admin/dist/ ./snuba/admin/dist/
31.77MB 0001-01-01 08:00:00 COPY --from=build_rust_snuba /usr/src/snuba/rust_snuba/target/wheels/ /tmp/rust_wheels/
7.53MB 0001-01-01 08:00:00 COPY . ./
458.28MB 0001-01-01 08:00:00 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
984.00B 0001-01-01 08:00:00 COPY requirements.txt ./
565.36MB 0001-01-01 08:00:00 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
99.00B 0001-01-01 08:00:00 COPY requirements-build.txt ./
0.00B 0001-01-01 08:00:00 WORKDIR /usr/src/snuba
0.00B 2024-03-22 07:32:08 CMD ["python3"]
12.40MB 2024-03-22 07:32:08 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
0.00B 2024-03-22 07:32:08 ENV PYTHON_GET_PIP_SHA256=dfe9fd5c28dc98b5ac17979a953ea550cec37ae1b47a5116007395bfacff2ab9
0.00B 2024-03-22 07:32:08 ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/dbf0c85f76fb6e1ab42aa672ffca6f0a675d9ee4/public/get-pip.py
0.00B 2024-03-22 07:32:08 ENV PYTHON_SETUPTOOLS_VERSION=65.5.1
0.00B 2024-03-22 07:32:08 ENV PYTHON_PIP_VERSION=24.0
32.00B 2024-03-22 07:32:08 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
34.30MB 2024-03-22 07:32:08 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
0.00B 2024-03-22 07:32:08 ENV PYTHON_VERSION=3.11.8
0.00B 2024-03-22 07:32:08 ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
9.23MB 2024-03-22 07:32:08 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
0.00B 2024-03-22 07:32:08 ENV LANG=C.UTF-8
0.00B 2024-03-22 07:32:08 ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
0.00B 2024-03-12 09:21:01 /bin/sh -c #(nop) CMD ["bash"]
74.77MB 2024-03-12 09:21:01 /bin/sh -c #(nop) ADD file:b86ae1c7ca3586d8feedcd9ff1b2b1e8ab872caf6587618f1da689045a5d7ae4 in /

镜像信息

{
    "Id": "sha256:e463ab3466d6e3c17ebfd18912d08257643db0cf294ad9646dea376fcf3a230d",
    "RepoTags": [
        "getsentry/snuba:24.9.0",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/getsentry/snuba:24.9.0"
    ],
    "RepoDigests": [
        "getsentry/snuba@sha256:cd38999678ab0792d82618b88b69026edf794d64d57301996fc95c668b641830",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/getsentry/snuba@sha256:cd38999678ab0792d82618b88b69026edf794d64d57301996fc95c668b641830"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2024-09-15T17:12:06.270539137Z",
    "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=530bd23d39ca27a2f1c6e5856c1128f607118bd4",
            "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": 1375400916,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/f505991a6b0206818ed348e73c8ddceb7cf8308fcc1bb25c025be583c1ff53d3/diff:/var/lib/docker/overlay2/665c67291595a2639d27bc8b76603392eccc4327411625c9c2238fcf5a249226/diff:/var/lib/docker/overlay2/68743555e83d23ce0ee0a1ac192952ebcf391ac83645237d2067870e331e517c/diff:/var/lib/docker/overlay2/323c0751e02807644fb721132981946c1cf4e247145ed1a7411403ef3bf3f960/diff:/var/lib/docker/overlay2/db4b30fa4bf9059e13aa5842543b39cce5bc3765d9348989492a893460f618da/diff:/var/lib/docker/overlay2/0449029bb4b99a29d54f27c85f174507f40c0648b88779764fbfd1cdfdb68bf4/diff:/var/lib/docker/overlay2/c247be2605d8f921df8146303f2182dd037a8a8648f3364116dd00ba55bb7206/diff:/var/lib/docker/overlay2/86ef6cb6451ba077255e8a40ce11a59432be7cfa4ea6c2dfdec6306dd3cd3106/diff:/var/lib/docker/overlay2/5842249eb1c1e2c2ae2a4f4aa3c98a4fe7aac1bc281ef563abb8302936f9d0a9/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/a41914fd842ff2ca60d27b265f2623cb77b8a160a17d8ca44c39f357aea7828b/merged",
            "UpperDir": "/var/lib/docker/overlay2/a41914fd842ff2ca60d27b265f2623cb77b8a160a17d8ca44c39f357aea7828b/diff",
            "WorkDir": "/var/lib/docker/overlay2/a41914fd842ff2ca60d27b265f2623cb77b8a160a17d8ca44c39f357aea7828b/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:a483da8ab3e941547542718cacd3258c6c705a63e94183c837c9bc44eb608999",
            "sha256:c8f253aef5606f6716778771171c3fdf6aa135b76a5fa8bf66ba45c12c15b540",
            "sha256:9559125c0303b960274ed767b40a1a1950c500dd9e3f5ffea9418d156b787299",
            "sha256:010a290fc3d5487d6431681165ae41aca6278b077be77a285db6888154903022",
            "sha256:067693c93cf96e1757b12c3b57a46f0ef79e2499b4729c35a608bb2e915e64ee",
            "sha256:0f1c04ff4c367523371cd9c0d8f68d00d7a8bf83cb0a4f3583d777ec51dfb28f",
            "sha256:c22ee5e720cb894212059f59b686552d0550073c276409541cf88dbe8d0fe298",
            "sha256:5782e1da54034b3769a8ab6227a9363eb33061de7e1a03795d6664a8aa17bd43",
            "sha256:ac55ef874e3f04c49bc50f060c8e8409a56133444432a905a4861f2bd4d93f74",
            "sha256:8d7f0bb7e52ea7e133c4ea7112ed4ea56a0e40aa8eb75ce879f0e9336b1129b2",
            "sha256:4207f4d2ada0a13e2a5a9dcbc371165217a28630b5ef42a7ae6bc1ca20570353",
            "sha256:b52b402e45496c1d3c1374e505081557aa46b77a579b407d2769629ea88fc909",
            "sha256:9aa10ba49f1824361e8aa777cc23462f55a589f2c718cce92b04c8502d75c72e",
            "sha256:21dc70cff57bef45e98c7f081d516e15ffa7f824143dbb7b83beced00660fbd3",
            "sha256:1039374cfebc8d9fba83d9d5849d75447cbc7102dcd5c90ffe1bc511057f1bb5"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-08T15:14:50.342818064+08:00"
    }
}

更多版本

docker.io/getsentry/snuba:24.7.1

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

docker.io/getsentry/snuba:nightly

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

docker.io/getsentry/snuba:24.9.0

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