Namespace
getsentry
Image / Tag
snuba:3dca005
Content Digest
sha256:14ef6a07f203e60e3786c2e599c901c1e27630c00867446d3d055d628b0b7012
Details
Created

2023-11-06 20:45:07 UTC

Size

326 MB

Content Digest
Environment
GPG_KEY

E3FF2839C048B25C084DEBE9B26995E310250568

LANG

C.UTF-8

PATH

/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/.cargo/bin/

PIP_DISABLE_PIP_VERSION_CHECK

on

PIP_NO_CACHE_DIR

off

PYTHON_GET_PIP_SHA256

22b849a10f86f5ddf7ce148ca2a31214504ee6c83ef626840fde6e5dcd809d11

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/c6add47b0abf67511cdfb4734771cbab403af062/public/get-pip.py

PYTHON_PIP_VERSION

23.0.1

PYTHON_SETUPTOOLS_VERSION

57.5.0

PYTHON_VERSION

3.8.18


Layers

[#000] sha256:578acb154839e9d0034432e8f53756d6f53ba62cf8c7ea5218a2476bf5b58fc9 - 8.54% (27.8 MB)

[#001] sha256:ac65017cfc5699a3ab0e5ed6e11c321fc0c664fd6b4c8744cda7914e74897c47 - 1.03% (3.35 MB)

[#002] sha256:100bb96a032709b460bfd78ddab0c300e22d3c6abd4c854eb7d2cae46a8430ad - 4.03% (13.1 MB)

[#003] sha256:2b7e5f1b5877c9fd2a86121673a114e615247058e10a099e700c1b5a7152c73f - 0.0% (245 Bytes)

[#004] sha256:195da115a4ffb5b44e2bd7d22eb7b9730e6bd3fc5c54d699a15cc5b1e0cbaaa4 - 0.92% (2.99 MB)

[#005] sha256:20fc4c06314a312fba55a424988664d6050f01b34cc2ebd334a9221912177879 - 0.0% (340 Bytes)

[#006] sha256:12ebd9dcc37782e028d12181aa2003c2be1456e3b3710996dcbfe5e63a53ca54 - 0.0% (486 Bytes)

[#007] sha256:10d4febbc3be3ffdc907a98ef4cb002be47ddbd5e8376a77ea981104f238cd25 - 54.67% (178 MB)

[#008] sha256:44dc8adb0100f2e8995442c9018c2f712452dd8eea9087bca2d3dbae02629352 - 0.0% (950 Bytes)

[#009] sha256:e54e4de1a9349e0688f1bd944acaa7dd642cc017c95824656e4e8944cd7c924d - 21.96% (71.5 MB)

[#010] sha256:ed1f86a0c3c2e4dea5c25b5ee829fdae7762064e93f34e4aa08e6fc68bbfc446 - 0.32% (1.05 MB)

[#011] sha256:4c67571ee925ca2269e453bbf81e387692ceb46832d515d9b7f427418b230768 - 1.31% (4.27 MB)

[#012] sha256:58e516f4b16f3817cad38ff00c9f88e99cf06dacace761d9bfb4acd870ef2fc4 - 0.63% (2.05 MB)

[#013] sha256:a070dc356606ce58bc16492fa00f0c09347e755f64cfa049a1e9c2bb03dfef4e - 2.65% (8.62 MB)

[#014] sha256:1868041880554826a201fae56687b57b95756a5fb0210cf07990776e43c432c1 - 3.93% (12.8 MB)

[#015] sha256:69ea06a6f7e051f5a72921250e3520dea37c0b1f769d3c22af30ba3fb417d6ea - 0.02% (65.3 KB)

[#016] sha256:3454e804e67bab327f86e6bd13849b3a71be66d91206cfc2f27980cd3d46cf53 - 0.0% (249 Bytes)


History
2023-11-01 00:20:49 UTC

/bin/sh -c #(nop) ADD file:fbd8521c24ed758023728505c18d7a0d6d101bc77fd772a4af9b65049b943864 in /

2023-11-01 00:20:49 UTC

/bin/sh -c #(nop) CMD ["bash"]

2023-10-16 02:15:27 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2023-10-16 02:15:27 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2023-10-16 02:15:27 UTC (buildkit.dockerfile.v0)

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

2023-10-16 02:15:27 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568

2023-10-16 02:15:27 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.8.18

2023-10-16 02:15:27 UTC (buildkit.dockerfile.v0)

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-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' \) \) -o \( -type f -a -name 'wininst-*.exe' \) \) -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

2023-10-16 02:15:27 UTC (buildkit.dockerfile.v0)

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

2023-10-16 02:15:27 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=23.0.1

2023-10-16 02:15:27 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=57.5.0

2023-10-16 02:15:27 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/c6add47b0abf67511cdfb4734771cbab403af062/public/get-pip.py

2023-10-16 02:15:27 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=22b849a10f86f5ddf7ce148ca2a31214504ee6c83ef626840fde6e5dcd809d11

2023-10-16 02:15:27 UTC (buildkit.dockerfile.v0)

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

2023-10-16 02:15:27 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

0001-01-01 00:00:00 UTC

WORKDIR /usr/src/snuba

0001-01-01 00:00:00 UTC

COPY requirements-build.txt ./

0001-01-01 00:00:00 UTC

RUN set -ex; buildDeps=' curl git gcc libc6-dev liblz4-dev libpcre3-dev libssl-dev wget zlib1g-dev pkg-config cmake make g++ gnupg '; apt-get update; apt-get install -y $buildDeps --no-install-recommends; pip install -r requirements-build.txt; echo "$buildDeps" > /tmp/build-deps.txt

0001-01-01 00:00:00 UTC

COPY requirements.txt ./

0001-01-01 00:00:00 UTC

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 00:00:00 UTC

COPY . ./

0001-01-01 00:00:00 UTC

COPY --from=build_rust_snuba /usr/src/snuba/rust_snuba/target/wheels/ /tmp/rust_wheels/

0001-01-01 00:00:00 UTC

COPY --from=build_admin_ui /usr/src/snuba/snuba/admin/dist/ ./snuba/admin/dist/

0001-01-01 00:00:00 UTC

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 00:00:00 UTC

RUN pip install -r requirements-test.txt

0001-01-01 00:00:00 UTC

COPY ./rust_snuba/ ./rust_snuba/

0001-01-01 00:00:00 UTC

RUN bash -c "set -o pipefail && curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain $RUST_TOOLCHAIN --profile minimal -y"

Danger Zone
Delete Tag

Please be careful as this will not just delete the reference but also the actual content!

For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.

Delete