Namespace
getsentry
Image / Tag
snuba:3023356
Content Digest
sha256:de96c8753eec5f419f55e6848e621edc55dcc20d80835ca036157010e8a3fd6a
Details
Created

2022-02-11 21:22:56 UTC

Size

122 MB

Content Digest
Environment
FLASK_DEBUG

0

GOSU_SHA256

0f25a21cf64e58078057adc78f38705163c1d564a959ff30a891c31917011a54

GOSU_VERSION

1.12

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

7c5239cea323cadae36083079a5ee6b2b3d56f25762a0c060d2867b89e5e06c5

PYTHON_GET_PIP_URL

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

PYTHON_PIP_VERSION

21.2.4

PYTHON_SETUPTOOLS_VERSION

57.5.0

PYTHON_VERSION

3.8.12

SNUBA_RELEASE

3023356fb7e5c2700922fc2466ee2f3b0ecde984

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:5eb5b503b37671af16371272f9c5313a3e82f1d0756e14506704489ad9900803 - 24.54% (29.9 MB)

[#001] sha256:5c69ac0246d0815a09c65c7b9a19e8a486a5ba057aed0c83bce1794bdd856f67 - 0.84% (1.03 MB)

[#002] sha256:a80ce345656c5a04ff358673d1402aca86eece98f5430b89280bb010d6dfa66b - 8.42% (10.3 MB)

[#003] sha256:56c1ff7766ad88be672abd2b95c39e72ca804e798787b532f7e250c06f0002f0 - 0.0% (234 Bytes)

[#004] sha256:216eb72c6d88f4d58893b7d79d94cff2050bcd3c0d1d963649eaeeb03abf5fec - 2.07% (2.52 MB)

[#005] sha256:134170989b33ff1cc9b6bf651fb252688a97c31cf622b8924b3dd3d98de4a568 - 0.0% (781 Bytes)

[#006] sha256:35bcf978c7cfa0a88e981fb0f0dc5beb07d653e10bcfc0746e666696ade73f68 - 0.81% (1010 KB)

[#007] sha256:cf27f32616ca3ad06eb3b60b448424f7cc8c71aa4176489b39d17b6f98a83e55 - 0.0% (141 Bytes)

[#008] sha256:56a2088e3dbf20df02879d3ce2db1c9c718d61b0e92c9339b963e1973aeb0433 - 0.0% (701 Bytes)

[#009] sha256:ac8b47f881f4a12028a262ac873ddf7336ec9a058180620832a0d695af517103 - 61.39% (74.8 MB)

[#010] sha256:6c0ff9bf68f3354863f452e91d363833a617c5dbe524cf8426551c0cf8f56e79 - 0.52% (654 KB)

[#011] sha256:fc8b5ccaf240e80e0ebb8bc07fda6ab9603314c5fd29ab66e9c84f48a8aaec79 - 1.36% (1.66 MB)

[#012] sha256:9064c4b10dec25df31d3e7fd30f6f7b5a6ecf54c4de4ff5fb2811d7111ffb9ae - 0.05% (56.3 KB)


History
2022-01-26 01:40:35 UTC

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

2022-01-26 01:40:36 UTC

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

2022-01-26 19:41:08 UTC

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

2022-01-26 19:41:08 UTC

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

2022-01-26 19:41:14 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-01-26 20:58:07 UTC

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

2022-01-29 05:07:18 UTC

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

2022-01-29 05:16:55 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 --with-system-ffi --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 '*.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-01-29 05:16: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 "/usr/local/bin/$src" "/usr/local/bin/$dst"; done

2022-01-29 05:16:56 UTC

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

2022-01-29 05:16:57 UTC

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

2022-02-04 23:23:06 UTC

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

2022-02-04 23:23:06 UTC

/bin/sh -c #(nop) ENV PYTHON_GET_PIP_SHA256=7c5239cea323cadae36083079a5ee6b2b3d56f25762a0c060d2867b89e5e06c5

2022-02-04 23:23:19 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/*; python get-pip.py --disable-pip-version-check --no-cache-dir "pip==$PYTHON_PIP_VERSION" "setuptools==$PYTHON_SETUPTOOLS_VERSION" ; pip --version; 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' \) \) \) -exec rm -rf '{}' + ; rm -f get-pip.py

2022-02-04 23:23:19 UTC

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

0001-01-01 00:00:00 UTC

RUN set -ex; apt-get update; apt-get install --no-install-recommends -y libexpat1 liblz4-1 libpcre3 ; rm -rf /var/lib/apt/lists/*

0001-01-01 00:00:00 UTC

RUN set -x && buildDeps=" wget " && apt-get update && apt-get install -y --no-install-recommends $buildDeps && rm -rf /var/lib/apt/lists/* && wget -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 && apt-get purge -y --auto-remove $buildDeps

0001-01-01 00:00:00 UTC

WORKDIR /usr/src/snuba

0001-01-01 00:00:00 UTC

COPY requirements.txt ./

0001-01-01 00:00:00 UTC

RUN set -ex; buildDeps=' gcc libc6-dev liblz4-dev libpcre3-dev wget '; apt-get update; apt-get install -y $buildDeps --no-install-recommends; [ $(uname -m) = "aarch64" ] && apt-get install -y librdkafka-dev --no-install-recommends; 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/; uwsgi --need-plugin=/var/lib/uwsgi/dogstatsd --help > /dev/null; apt-get purge -y --auto-remove $buildDeps; rm -rf /var/lib/apt/lists/*;

0001-01-01 00:00:00 UTC

COPY . ./

0001-01-01 00:00:00 UTC

RUN set -ex; groupadd -r snuba; useradd -r -g snuba snuba; chown -R snuba:snuba ./; pip install -e .; snuba --help;

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