Namespace
getsentry
Image / Tag
snuba:05484ba
Content Digest
sha256:376e2d555f87d87df29175874e8dca1b75ce0040d67ec12d521bf733289b046f
Details
Created

2023-04-04 14:12:14 UTC

Size

281 MB

Content Digest
Environment
FLASK_DEBUG

0

GPG_KEY

E3FF2839C048B25C084DEBE9B26995E310250568

LANG

C.UTF-8

PATH

/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PIP_DISABLE_PIP_VERSION_CHECK

on

PIP_NO_CACHE_DIR

off

PYTHONDONTWRITEBYTECODE

1

PYTHONUNBUFFERED

1

PYTHON_GET_PIP_SHA256

5aefe6ade911d997af080b315ebcb7f882212d070465df544e1175ac2be519b4

PYTHON_GET_PIP_URL

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

PYTHON_PIP_VERSION

22.0.4

PYTHON_SETUPTOOLS_VERSION

57.5.0

PYTHON_VERSION

3.8.13

SNUBA_RELEASE

05484ba7b901ffda0c44ba9c930de49ce66d159f

UWSGI_DOGSTATSD_EXTRA_TAGS

service:snuba

UWSGI_ENABLE_METRICS

true

UWSGI_NEED_PLUGIN

/var/lib/uwsgi/dogstatsd

UWSGI_STATS_PUSH

dogstatsd:127.0.0.1:8126


Layers

[#000] sha256:7a6db449b51b92eac5c81cdbd82917785343f1664b2be57b22337b0a40c5b29d - 10.64% (29.9 MB)

[#001] sha256:e238bceb29579b6804c25c4e8c81612003af698ef4ca42c46fa87d4ef371653c - 0.36% (1.03 MB)

[#002] sha256:9c37eda4ff12eb9bd68ee8feacb78034f4524716d57673ff0a0ad82f88df487c - 3.84% (10.8 MB)

[#003] sha256:120078faa76053c068cf75960a6db2a9473ef941fdf2971b724769de253f534f - 0.0% (233 Bytes)

[#004] sha256:2d3523ccd6f419b6f4643fe4d472243848803763261afa6947386fcb161bcd16 - 1.08% (3.03 MB)

[#005] sha256:0468fe8c22273a3858f27bcdef709628b1f9dfbec77e17d47400749abd97fae5 - 0.0% (142 Bytes)

[#006] sha256:4971ac47f1cb9a6e564ecbaf4244049508c0d80fe6612f50494cb3ea54eaed69 - 0.0% (251 Bytes)

[#007] sha256:5f1b8013c4ede210d2a8d7049d3ebae410d9fb79c894ad73cf569d803eedbf02 - 58.19% (164 MB)

[#008] sha256:9b382de7022966f99de15b2fdfe479d26e0f8c751003eade4c286dcbc53cb628 - 0.0% (676 Bytes)

[#009] sha256:5cbe5184c4f36fc7d524d30fab623c67c6cdcac026a8537d398e319ad44e345c - 19.73% (55.5 MB)

[#010] sha256:609474ba897aa97b07f8a377f39165a78c82de40a8268b1fec070d1ff9f2ce42 - 0.3% (869 KB)

[#011] sha256:18d3aedc35a680975481e1cbec8f91ac334e440b160ad76d1d0d91c6f836d694 - 0.42% (1.19 MB)

[#012] sha256:30e6ea31438ea85aa933ad89c0110a09a7b7f12391fe34f1238fe1d7d4807d8d - 0.02% (57 KB)

[#013] sha256:59ba535b8061260182d53e27bad738a9cbdd3905fe2db9e842cd0a0bfc81054c - 0.9% (2.53 MB)

[#014] sha256:13a7aff329665febf511f75fffd7a22ae51e0d642a6bc2f1fe6b5c204f6267b6 - 4.51% (12.7 MB)


History
2022-08-23 00:20:50 UTC

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

2022-08-23 00:20:51 UTC

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

2022-08-23 07:32:59 UTC

/bin/sh -c #(nop) ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2022-08-23 07:32:59 UTC

/bin/sh -c #(nop) ENV LANG=C.UTF-8

2022-08-23 07:33:04 UTC

/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/*

2022-08-23 09:08:30 UTC

/bin/sh -c #(nop) ENV GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568

2022-08-23 09:36:37 UTC

/bin/sh -c #(nop) ENV PYTHON_VERSION=3.8.13

2022-08-23 09:42:56 UTC

/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends dpkg-dev gcc gnupg dirmngr libbluetooth-dev libbz2-dev libc6-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; command -v gpgconf > /dev/null && 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)"; make -j "$nproc" LDFLAGS="-Wl,--strip-all" ; 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 '/=>/ { print $(NF-1) }' | 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

2022-08-23 09:42:56 UTC

/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

2022-08-23 09:42:57 UTC

/bin/sh -c #(nop) ENV PYTHON_PIP_VERSION=22.0.4

2022-08-23 09:42:57 UTC

/bin/sh -c #(nop) ENV PYTHON_SETUPTOOLS_VERSION=57.5.0

2022-08-23 09:42:57 UTC

/bin/sh -c #(nop) ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/5eaac1050023df1f5c98b173b248c260023f2278/public/get-pip.py

2022-08-23 09:42:57 UTC

/bin/sh -c #(nop) ENV PYTHON_GET_PIP_SHA256=5aefe6ade911d997af080b315ebcb7f882212d070465df544e1175ac2be519b4

2022-08-23 09:43:09 UTC

/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

2022-08-23 09:43:09 UTC

/bin/sh -c #(nop) 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; 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 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 ./; [ -z "`find -type f /tmp/rust_wheels`" ] || pip install /tmp/rust_wheels/*; rm -rf /tmp/rust_wheels/; pip install -e .; snuba --help; python -c 'import rust_snuba'

0001-01-01 00:00:00 UTC

RUN pip install -r requirements-test.txt

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