2024-01-09 20:27:24 UTC
748 MB
0
GPG_KEYA035C8C19219BA821ECEA86B64E628F8D684696D
LANGC.UTF-8
LD_PRELOAD/usr/src/snuba/libjemalloc.so.2
PATH/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/.cargo/bin/
PIP_DISABLE_PIP_VERSION_CHECKon
PIP_NO_CACHE_DIRoff
PYTHONDONTWRITEBYTECODE1
PYTHONUNBUFFERED1
PYTHON_GET_PIP_SHA2569cc01665956d22b3bf057ae8287b035827bfd895da235bcea200ab3b811790b6
PYTHON_GET_PIP_URLhttps://github.com/pypa/get-pip/raw/4cfa4081d27285bda1220a62a5ebf5b4bd749cdb/public/get-pip.py
PYTHON_PIP_VERSION23.0.1
PYTHON_SETUPTOOLS_VERSION65.5.1
PYTHON_VERSION3.10.13
SNUBA_RELEASE0f68e566ea0a1845ac2fd85898026b6e1bab441e
UWSGI_DOGSTATSD_EXTRA_TAGSservice:snuba
UWSGI_ENABLE_METRICStrue
UWSGI_NEED_PLUGIN/var/lib/uwsgi/dogstatsd
UWSGI_STATS_PUSHdogstatsd:127.0.0.1:8126
[#000] sha256:af107e978371b6cd6339127a05502c5eacd1e6b0e9eb7b2f4aa7b6fc87e2dd81 - 3.71% (27.8 MB)
[#001] sha256:8ce3f2b601ccac03ff1858022363c325355bafba224123a4563dade58bc8e70f - 0.45% (3.35 MB)
[#002] sha256:64119eae2e5157ca18d0ec9b9c7865e454b09bca702c3e2f579703deb0eaaeaf - 1.58% (11.8 MB)
[#003] sha256:a28cd3d033268c30cb986f4a0d36c4aeda4c5aeaa5c764562f323c73d1f4f771 - 0.0% (244 Bytes)
[#004] sha256:2c1fe8bcf114038da9146a2528b2c3b606a09873aee7122f8529d45418fcd9e9 - 0.43% (3.21 MB)
[#005] sha256:92e8aecaedef02be9b3cd861487f20ee3159eac7f903207af88761e3e82db585 - 0.0% (334 Bytes)
[#006] sha256:75911e205a3a4214f845fb4d61db12e09e72823a2f2fecfa49d46bdc7cac165b - 0.0% (475 Bytes)
[#007] sha256:572968fff46641ed8694c993e1b511d77471710514a0353a88e08bf9220dd251 - 23.84% (178 MB)
[#008] sha256:6f796630191a1d3f23e43c1a9380c753b3868c9d122c93750ec40a9cdd5673fa - 0.0% (962 Bytes)
[#009] sha256:b4d98f8902a091361fac8a202004c603f2e45d638569cc0e1eaf0165d48b6851 - 11.21% (83.9 MB)
[#010] sha256:ccf4210575f1ecf2d87cc845e6a1671d722da44fe82f64dc311c74f89229e172 - 0.15% (1.1 MB)
[#011] sha256:834bec197caee4396d9fd004224e2d3fbba9559be222abd3ea8ea07799c3e9b5 - 3.46% (25.9 MB)
[#012] sha256:53592b28456eb06f2c4ae20c790286c189634f1ebc72746c6810c4049fec68f7 - 0.28% (2.1 MB)
[#013] sha256:ba85e82c80dfdd1fafac3464e987fd5467c0aed4d631c9d8a62da23a55baa6a7 - 4.17% (31.2 MB)
[#014] sha256:dd5d3b7486ffe407fe0609db5952addc2090508ff35ed533cf28ea98a5fab3a4 - 1.71% (12.8 MB)
[#015] sha256:9a2ccfd162b56a33be70661faf8b58583fc3e332d3b2cac60a4b1be08102081c - 0.01% (93.6 KB)
[#016] sha256:77f0a8ece4ed4a5cd7764e8ed92dbeaaca053bac08d5274352d4a90fd8ecfa45 - 27.93% (209 MB)
[#017] sha256:af58de9b6bf71b260b211550506b382ee7d35fdaad9390bf6a5ff36e3a6b2ebe - 21.08% (158 MB)
/bin/sh -c #(nop) ADD file:ac3cd70031d35e46d86b876934946ffc8756de4de065fbc926dce642dac07ff3 in /
2023-12-19 01:20:28 UTC/bin/sh -c #(nop) CMD ["bash"]
2023-10-21 15:49:12 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2023-10-21 15:49:12 UTC (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2023-10-21 15:49:12 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-21 15:49:12 UTC (buildkit.dockerfile.v0)ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
2023-10-21 15:49:12 UTC (buildkit.dockerfile.v0)ENV PYTHON_VERSION=3.10.13
2023-10-21 15:49:12 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-lto --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' \) \) \) -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-21 15:49:12 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-21 15:49:12 UTC (buildkit.dockerfile.v0)ENV PYTHON_PIP_VERSION=23.0.1
2023-10-21 15:49:12 UTC (buildkit.dockerfile.v0)ENV PYTHON_SETUPTOOLS_VERSION=65.5.1
2023-10-21 15:49:12 UTC (buildkit.dockerfile.v0)ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/4cfa4081d27285bda1220a62a5ebf5b4bd749cdb/public/get-pip.py
2023-10-21 15:49:12 UTC (buildkit.dockerfile.v0)ENV PYTHON_GET_PIP_SHA256=9cc01665956d22b3bf057ae8287b035827bfd895da235bcea200ab3b811790b6
2023-10-21 15:49:12 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-21 15:49:12 UTC (buildkit.dockerfile.v0)CMD ["python3"]
0001-01-01 00:00:00 UTCWORKDIR /usr/src/snuba
0001-01-01 00:00:00 UTCCOPY requirements-build.txt ./
0001-01-01 00:00:00 UTCRUN set -ex; buildDeps=' curl git gcc libc6-dev liblz4-dev libpcre3-dev libssl-dev wget zlib1g-dev pkg-config cmake make g++ gnupg '; runtimeDeps=' libjemalloc2 '; apt-get update; apt-get install -y $buildDeps $runtimeDeps --no-install-recommends; pip install -r requirements-build.txt; ln -s /usr/lib/*/libjemalloc.so.2 /usr/src/snuba/libjemalloc.so.2; echo "$buildDeps" > /tmp/build-deps.txt
0001-01-01 00:00:00 UTCCOPY requirements.txt ./
0001-01-01 00:00:00 UTCRUN 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 UTCCOPY . ./
0001-01-01 00:00:00 UTCCOPY --from=build_rust_snuba /usr/src/snuba/rust_snuba/target/wheels/ /tmp/rust_wheels/
0001-01-01 00:00:00 UTCCOPY --from=build_admin_ui /usr/src/snuba/snuba/admin/dist/ ./snuba/admin/dist/
0001-01-01 00:00:00 UTCRUN 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 UTCRUN pip install -r requirements-test.txt
0001-01-01 00:00:00 UTCCOPY ./rust_snuba/ ./rust_snuba/
0001-01-01 00:00:00 UTCCOPY --from=build_rust_snuba /root/.cargo/ /root/.cargo/
0001-01-01 00:00:00 UTCCOPY --from=build_rust_snuba /root/.rustup/ /root/.rustup/
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.