镜像构建历史
# 2024-12-12 01:23:55 0.00B 添加元数据标签
LABEL org.opencontainers.image.licenses=https://github.com/getsentry/sentry/blob/9f41dcaa7eba344a627807b03e85fbdccfcf248e/LICENSE
# 2024-12-12 01:23:55 0.00B 添加元数据标签
LABEL org.opencontainers.image.source=https://github.com/getsentry/sentry/tree/9f41dcaa7eba344a627807b03e85fbdccfcf248e/
# 2024-12-12 01:23:55 0.00B 添加元数据标签
LABEL org.opencontainers.image.revision=9f41dcaa7eba344a627807b03e85fbdccfcf248e
# 2024-12-12 01:23:55 0.00B 设置环境变量 SENTRY_BUILD
ENV SENTRY_BUILD=9f41dcaa7eba344a627807b03e85fbdccfcf248e
# 2024-12-12 01:23:55 0.00B 定义构建参数
ARG SOURCE_COMMIT=9f41dcaa7eba344a627807b03e85fbdccfcf248e
# 2024-12-12 01:23:55 0.00B 设置默认要执行的命令
CMD ["run" "web"]
# 2024-12-12 01:23:55 0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/bin/sh" "-c" "exec /docker-entrypoint.sh \"$0\" \"$@\""]
# 2024-12-12 01:23:55 0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/data]
# 2024-12-12 01:23:55 0.00B 声明容器运行时监听的端口
EXPOSE map[9000/tcp:{}]
# 2024-12-12 01:23:55 0.00B 执行命令并创建新的镜像层
RUN |4 GOSU_VERSION=1.17 GOSU_SHA256=bbc4136d03ab138b1ad66fa4fc051bafc6cc7ffae632b069a53657279a450de3 TINI_VERSION=0.19.0 TINI_SHA256=93dcc18adc78c65a028a84799ecf8ad40c936fdfc5f2a57b1acda5a8117fa82c /bin/sh -c : double-check some built files are available && test -f /usr/src/sentry/src/sentry/loader/_registry.json && test -f /usr/src/sentry/src/sentry/integration-docs/python.json && test -f /usr/src/sentry/src/sentry/static/sentry/dist/entrypoints/app.js && sentry help && : # buildkit
# 2024-12-12 01:23:54 583.00B 复制新文件或目录到容器中
COPY ./self-hosted/docker-entrypoint.sh / # buildkit
# 2024-12-12 01:23:54 10.43KB 复制新文件或目录到容器中
COPY ./self-hosted/sentry.conf.py ./self-hosted/config.yml /etc/sentry/ # buildkit
# 2024-12-12 01:23:54 1.38MB 执行命令并创建新的镜像层
RUN |4 GOSU_VERSION=1.17 GOSU_SHA256=bbc4136d03ab138b1ad66fa4fc051bafc6cc7ffae632b069a53657279a450de3 TINI_VERSION=0.19.0 TINI_SHA256=93dcc18adc78c65a028a84799ecf8ad40c936fdfc5f2a57b1acda5a8117fa82c /bin/sh -c sentry help | sed '1,/Commands:/d' | awk '{print $1}' > /sentry-commands.txt # buildkit
# 2024-12-12 01:23:53 2.00KB 执行命令并创建新的镜像层
RUN |4 GOSU_VERSION=1.17 GOSU_SHA256=bbc4136d03ab138b1ad66fa4fc051bafc6cc7ffae632b069a53657279a450de3 TINI_VERSION=0.19.0 TINI_SHA256=93dcc18adc78c65a028a84799ecf8ad40c936fdfc5f2a57b1acda5a8117fa82c /bin/sh -c python3 -m tools.fast_editable --path . # buildkit
# 2024-12-12 01:23:52 286.56MB 复制新文件或目录到容器中
COPY . . # buildkit
# 2024-12-11 02:50:40 436.32MB 执行命令并创建新的镜像层
RUN |4 GOSU_VERSION=1.17 GOSU_SHA256=bbc4136d03ab138b1ad66fa4fc051bafc6cc7ffae632b069a53657279a450de3 TINI_VERSION=0.19.0 TINI_SHA256=93dcc18adc78c65a028a84799ecf8ad40c936fdfc5f2a57b1acda5a8117fa82c /bin/sh -c set -x && buildDeps=" gcc libpcre2-dev wget zlib1g-dev " && apt-get update && apt-get install -y --no-install-recommends $buildDeps && pip install -r /tmp/requirements-frozen.txt && mkdir /tmp/uwsgi-dogstatsd && wget -O - https://github.com/DataDog/uwsgi-dogstatsd/archive/1a04f784491ab0270b4e94feb94686b65d8d2db1.tar.gz | tar -xzf - -C /tmp/uwsgi-dogstatsd --strip-components=1 && UWSGI_NEED_PLUGIN="" uwsgi --build-plugin /tmp/uwsgi-dogstatsd && mkdir -p /var/lib/uwsgi && mv dogstatsd_plugin.so /var/lib/uwsgi/ && rm -rf /tmp/requirements-frozen.txt /tmp/uwsgi-dogstatsd .uwsgi_plugins_builder && apt-get purge -y --auto-remove $buildDeps && apt-get clean && rm -rf /var/lib/apt/lists/* && python -c 'import maxminddb.extension; maxminddb.extension.Reader' && mkdir -p $SENTRY_CONF # buildkit
# 2024-12-11 02:50:05 3.14KB 复制新文件或目录到容器中
COPY requirements-frozen.txt /tmp/requirements-frozen.txt # buildkit
# 2024-11-16 00:43:06 0.00B 设置环境变量 SENTRY_CONF UWSGI_NEED_PLUGIN GRPC_POLL_STRATEGY
ENV SENTRY_CONF=/etc/sentry UWSGI_NEED_PLUGIN=/var/lib/uwsgi/dogstatsd GRPC_POLL_STRATEGY=epoll1
# 2024-11-16 00:43:06 15.06MB 执行命令并创建新的镜像层
RUN |4 GOSU_VERSION=1.17 GOSU_SHA256=bbc4136d03ab138b1ad66fa4fc051bafc6cc7ffae632b069a53657279a450de3 TINI_VERSION=0.19.0 TINI_SHA256=93dcc18adc78c65a028a84799ecf8ad40c936fdfc5f2a57b1acda5a8117fa82c /bin/sh -c python3 -m venv /.venv # buildkit
# 2024-11-16 00:43:02 0.00B 设置环境变量 PATH PIP_NO_CACHE_DIR PIP_DISABLE_PIP_VERSION_CHECK
ENV PATH=/.venv/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PIP_NO_CACHE_DIR=1 PIP_DISABLE_PIP_VERSION_CHECK=1
# 2024-11-16 00:43:02 0.00B 设置工作目录为/usr/src/sentry
WORKDIR /usr/src/sentry
# 2024-11-16 00:43:02 2.76MB 执行命令并创建新的镜像层
RUN |4 GOSU_VERSION=1.17 GOSU_SHA256=bbc4136d03ab138b1ad66fa4fc051bafc6cc7ffae632b069a53657279a450de3 TINI_VERSION=0.19.0 TINI_SHA256=93dcc18adc78c65a028a84799ecf8ad40c936fdfc5f2a57b1acda5a8117fa82c /bin/sh -c set -x && buildDeps=" wget " && apt-get update && apt-get install -y --no-install-recommends $buildDeps && rm -rf /var/lib/apt/lists/* && wget --quiet -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-amd64" && echo "$GOSU_SHA256 /usr/local/bin/gosu" | sha256sum --check --status && chmod +x /usr/local/bin/gosu && wget --quiet -O /usr/local/bin/tini "https://github.com/krallin/tini/releases/download/v$TINI_VERSION/tini-amd64" && echo "$TINI_SHA256 /usr/local/bin/tini" | sha256sum --check --status && chmod +x /usr/local/bin/tini && apt-get purge -y --auto-remove $buildDeps # buildkit
# 2024-12-12 00:21:57 0.00B 定义构建参数
ARG TINI_SHA256=93dcc18adc78c65a028a84799ecf8ad40c936fdfc5f2a57b1acda5a8117fa82c
# 2024-12-12 00:21:57 0.00B 定义构建参数
ARG TINI_VERSION=0.19.0
# 2024-12-12 00:21:57 0.00B 定义构建参数
ARG GOSU_SHA256=bbc4136d03ab138b1ad66fa4fc051bafc6cc7ffae632b069a53657279a450de3
# 2024-12-12 00:21:57 0.00B 定义构建参数
ARG GOSU_VERSION=1.17
# 2024-12-12 00:21:57 0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c : && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends libexpat1 && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit
# 2024-09-27 18:25:27 8.86KB 执行命令并创建新的镜像层
RUN /bin/sh -c groupadd -r sentry && useradd -r -m -g sentry sentry # buildkit
# 2024-09-27 18:25:27 0.00B 添加元数据标签
LABEL org.opencontainers.image.authors=oss@sentry.io
# 2024-09-27 18:25:27 0.00B 添加元数据标签
LABEL org.opencontainers.image.vendor=Functional Software, Inc.
# 2024-09-27 18:25:27 0.00B 添加元数据标签
LABEL org.opencontainers.image.documentation=https://develop.sentry.dev/self-hosted/
# 2024-09-27 18:25:27 0.00B 添加元数据标签
LABEL org.opencontainers.image.url=https://sentry.io/
# 2024-09-27 18:25:27 0.00B 添加元数据标签
LABEL org.opencontainers.image.description=Sentry runtime image
# 2024-09-27 18:25:27 0.00B 添加元数据标签
LABEL org.opencontainers.image.title=Sentry
# 2024-09-27 18:25:27 0.00B 添加元数据标签
LABEL maintainer=oss@sentry.io
# 2024-09-10 01:16:05 0.00B 设置默认要执行的命令
CMD ["python3"]
# 2024-09-10 01:16:05 36.00B 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; for src in idle3 pip3 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-09-10 01:16:05 39.98MB 执行命令并创建新的镜像层
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 --with-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/*; export PYTHONDONTWRITEBYTECODE=1; python3 --version; pip3 --version # buildkit
# 2024-09-10 01:16:05 0.00B 设置环境变量 PYTHON_VERSION
ENV PYTHON_VERSION=3.12.6
# 2024-09-10 01:16:05 0.00B 设置环境变量 GPG_KEY
ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305
# 2024-09-10 01:16:05 9.24MB 执行命令并创建新的镜像层
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-09-10 01:16:05 0.00B 设置环境变量 LANG
ENV LANG=C.UTF-8
# 2024-09-10 01:16:05 0.00B 设置环境变量 PATH
ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# 2024-09-10 01:16:05 0.00B
/bin/sh -c #(nop) CMD ["bash"]
# 2024-09-10 01:16:05 74.78MB
/bin/sh -c #(nop) ADD file:a9a95cfab16803be03e59ade41622ef5061cf90f2d034304fe4ac1ee9ff30389 in /
镜像信息
{
"Id": "sha256:34dfa0221a80692165af3ba2624921d20aeb155f5882459c04c7e89246697996",
"RepoTags": [
"getsentry/sentry:24.11.2",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/getsentry/sentry:24.11.2"
],
"RepoDigests": [
"getsentry/sentry@sha256:ebb621b6facdb45b3ea3705bae55c393c7a44316facf0945280ef98c0fb5ccf8",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/getsentry/sentry@sha256:b6f4bf568115afe43f5074103bce599038e9235148d0f6bad2875b80675e570b"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2024-12-11T17:23:55.108425494Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "",
"Author": "",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"9000/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/.venv/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"LANG=C.UTF-8",
"GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305",
"PYTHON_VERSION=3.12.6",
"PIP_NO_CACHE_DIR=1",
"PIP_DISABLE_PIP_VERSION_CHECK=1",
"SENTRY_CONF=/etc/sentry",
"UWSGI_NEED_PLUGIN=/var/lib/uwsgi/dogstatsd",
"GRPC_POLL_STRATEGY=epoll1",
"SENTRY_BUILD=9f41dcaa7eba344a627807b03e85fbdccfcf248e"
],
"Cmd": [
"run",
"web"
],
"ArgsEscaped": true,
"Image": "",
"Volumes": {
"/data": {}
},
"WorkingDir": "/usr/src/sentry",
"Entrypoint": [
"/bin/sh",
"-c",
"exec /docker-entrypoint.sh \"$0\" \"$@\""
],
"OnBuild": null,
"Labels": {
"maintainer": "oss@sentry.io",
"org.opencontainers.image.authors": "oss@sentry.io",
"org.opencontainers.image.description": "Sentry runtime image",
"org.opencontainers.image.documentation": "https://develop.sentry.dev/self-hosted/",
"org.opencontainers.image.licenses": "https://github.com/getsentry/sentry/blob/9f41dcaa7eba344a627807b03e85fbdccfcf248e/LICENSE",
"org.opencontainers.image.revision": "9f41dcaa7eba344a627807b03e85fbdccfcf248e",
"org.opencontainers.image.source": "https://github.com/getsentry/sentry/tree/9f41dcaa7eba344a627807b03e85fbdccfcf248e/",
"org.opencontainers.image.title": "Sentry",
"org.opencontainers.image.url": "https://sentry.io/",
"org.opencontainers.image.vendor": "Functional Software, Inc."
}
},
"Architecture": "amd64",
"Os": "linux",
"Size": 866098979,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/afccee52dffd432e2ed46a9c6770bfc3c341bf36c4f847bdf4711e11f969db0c/diff:/var/lib/docker/overlay2/31e81683b0e08e819726ec46d3497da880965354773252ec453f5ee869b85bcd/diff:/var/lib/docker/overlay2/9cb419e6b86eb905a378959d5286bb12efb575fa9fe0bd6819037a5352c82f9e/diff:/var/lib/docker/overlay2/a405aaf99d695e052e83af7636c93753179d737928361af05b8ada46010a9810/diff:/var/lib/docker/overlay2/c3359323b7bbf5b56dd9396b4a37cb49ac13b61c9550858161bccc5ebfc5b943/diff:/var/lib/docker/overlay2/0f9c0ff7c86ca0ce78c59e46a453ff3f7d534431dc606cc3db2c49abfc458953/diff:/var/lib/docker/overlay2/cd48eeb8f143c016b47ebdb0ac35451e29a32734a298b49b2ea22140b0a7f3ca/diff:/var/lib/docker/overlay2/07acf69bfa6489bb6614816b219f68489c8604aca1f99304d5c61c40b47b95e2/diff:/var/lib/docker/overlay2/8ab917fbb5fabb1cfad5012d41118425369fa52f26140a85b578380566889193/diff:/var/lib/docker/overlay2/0ffc9f18a431e3e0310b3b08098c099bdddab23af263eb9a87ee8f4b85d7ddde/diff:/var/lib/docker/overlay2/74d013ba5d65b7d06e43d01281288cd89b376ab537b20bfd2468027060ee4b00/diff:/var/lib/docker/overlay2/818de64dc760136956e062a2c2db96f706175fd66e474ef026c251b7837e964a/diff:/var/lib/docker/overlay2/0f26c01daf7c1dd50a095a848d737d0c48cd55a5ad94dfdf7a3b7dbaffe52ddf/diff:/var/lib/docker/overlay2/cc67d8f89d244b75a11244e9320a213b432aa699fd99021fc1f56b376490edc8/diff:/var/lib/docker/overlay2/63c3d3b6653e05ba816509b6f52c769b28584404ac2829e99a9a17b23523b04a/diff:/var/lib/docker/overlay2/1bccca92078a7af8b31c9945ce2f68029d684347892dd2e49c5a3b836eef3b8c/diff",
"MergedDir": "/var/lib/docker/overlay2/5eea8ad57936eff09e8d674eb4757518b64c95ed4ff3d64cd233635b9d7f431f/merged",
"UpperDir": "/var/lib/docker/overlay2/5eea8ad57936eff09e8d674eb4757518b64c95ed4ff3d64cd233635b9d7f431f/diff",
"WorkDir": "/var/lib/docker/overlay2/5eea8ad57936eff09e8d674eb4757518b64c95ed4ff3d64cd233635b9d7f431f/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:8d853c8add5d1e7b0aafc4b68a3d9fb8e7a0da27970c2acf831fe63be4a0cd2c",
"sha256:462eacda1a6948d0a33f787a2cda785ff7ccc6e85703b591472a890d1cde34e1",
"sha256:6102c39d73febe97b8c6f8b5f89982a28767d1defdff71f529a4ff499f278577",
"sha256:e2bc26829d4010019772a961741ba1245ca31e81c403ff39ab84115969f9ede3",
"sha256:5a2a5a50f0fffef556fab0993138261c62cf06ee2bb1df4cbf81e254a3ff59c0",
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
"sha256:bac00b3d273cef463f679c07d4e5cc0b4447c34cfcfd2eee58a2ddc2a13ca28c",
"sha256:721a42a1a761523d9c0c521eb8a0212525f95178f456ff0aa747980ce418d2bc",
"sha256:6000e3bcd0701226a71cd4b3b27994651694b1dbfd9deebea6c6030ddb5b8e30",
"sha256:d903a9f54848e017eab178b3c4d7b50c0c04df2b9d36e59dee3a36c854b5646b",
"sha256:8efbad85410923424ef13cc03b609a76437230e7cc29eb9e41cce949df0331bb",
"sha256:83cd403a56ff0eb445ff29431770f76b4d78b5924e7d74b833e803bfdd8f6cb2",
"sha256:da33f18f81e02c9f4367484ea0bf87455ef48ee341610c6b8998eddb08fc2379",
"sha256:1926d84874ea581b7c2cb2c7de9d6a5da586bffa7c5317225324f5b222383350",
"sha256:704cfcd485f5ea2e6aea26fb629a43569c3fa5527acdb221e99c436911b526c2",
"sha256:14122c0e301fa2e001a92a06cb29bd907c392666f5e287bbc8393e60b5c110a0",
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
]
},
"Metadata": {
"LastTagTime": "2025-01-16T16:49:40.724951345+08:00"
}
}