Namespace
getsentry
Image / Tag
snuba:36cdb51
Content Digest
sha256:e30b56815a511dffa443c336005a85f46bd5557f380995519946061721e52f81
Details
Created

2023-10-12 17:03:13 UTC

Size

304 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

45a2bb8bf2bb5eff16fdd00faef6f29731831c7c59bd9fc2bf1f3bed511ff1fe

PYTHON_GET_PIP_URL

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

PYTHON_PIP_VERSION

23.0.1

PYTHON_SETUPTOOLS_VERSION

57.5.0

PYTHON_VERSION

3.8.18


Layers

[#000] sha256:e67fdae3559346105027c63e7fb032bba57e62b1fe9f2da23e6fdfb56384e00b - 9.86% (30 MB)

[#001] sha256:a970ffaebef6fd07818bd49400c57484158e1665c80c51d70eac2080012d73ef - 0.34% (1.03 MB)

[#002] sha256:d0151756dd2e108c325b680a8251a7a9aed99a2a990fd579b5d57d7546203442 - 4.05% (12.3 MB)

[#003] sha256:5f06a5e6bfe41ed887132728af25ac222bd94dfef9315dda8fbb27300cfc6577 - 0.0% (245 Bytes)

[#004] sha256:35dcd02ced9275f42358e9fd3f73f28c0955b52f7aa9ccbfd386e090c5a219bd - 0.99% (3 MB)

[#005] sha256:e166327aea719a496369f65a41c08fa0fbec8efbbba30f6e0eeb616c8e690f6a - 0.0% (339 Bytes)

[#006] sha256:235028f3006062efbac389b59a932580b15247962c2a11ab8b3fb84c5d161606 - 0.0% (480 Bytes)

[#007] sha256:586286d73eff2559e2a088a4d3ae1f348a6b558b753689ee1afc2a7b03472700 - 52.35% (159 MB)

[#008] sha256:8e440abd80204739420a622462b8a0f21cad0c6727fb557bdf46d292ac23f6b0 - 0.0% (950 Bytes)

[#009] sha256:7e5bd35a70f5b9ce2f389617b560901dcb5ddb6cafaf855a30621fa14697f755 - 23.53% (71.5 MB)

[#010] sha256:4cfa31d37f893a40414538772fa0525b037c17edf06ade0a7ec9f49890d20733 - 0.34% (1.04 MB)

[#011] sha256:8270c1ad8a201c472e1f93da226265df69cb2898a7a39965ebb839a4567f6eae - 1.12% (3.4 MB)

[#012] sha256:11bf816505962b7a6283e2e139714ff9430c52241df04e1f23270fb15bb76e51 - 0.67% (2.05 MB)

[#013] sha256:485e8fbd985d9e8e7a9e220e63897ade7681e020b7901a89f9500d140f4d341a - 2.53% (7.68 MB)

[#014] sha256:95cdb7c816a45aebc51ad4be636fa0335ccf1ff529cfcdb026240a6ad8be3cc8 - 4.21% (12.8 MB)

[#015] sha256:d96033a86918184c9a67347e9e7f2554d492ee3c7a81acd661655930acf2587d - 0.02% (66 KB)

[#016] sha256:f330b229685059cbfcefe636989ba1b83a27277b908d4c5c01b62d894570be16 - 0.0% (255 Bytes)


History
2023-10-11 18:35:13 UTC

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

2023-10-11 18:35:13 UTC

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

2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)

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

2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2023-08-25 21:33:43 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-08-25 21:33:43 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568

2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.8.18

2023-08-25 21:33:43 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-08-25 21:33:43 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-08-25 21:33:43 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=23.0.1

2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=57.5.0

2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)

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

2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=45a2bb8bf2bb5eff16fdd00faef6f29731831c7c59bd9fc2bf1f3bed511ff1fe

2023-08-25 21:33:43 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-08-25 21:33:43 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