2023-01-26 19:57:20 UTC
135 MB
0
GPG_KEYE3FF2839C048B25C084DEBE9B26995E310250568
LANGC.UTF-8
NODE_VERSION19
PATH/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PIP_DISABLE_PIP_VERSION_CHECKon
PIP_NO_CACHE_DIRoff
PYTHONDONTWRITEBYTECODE1
PYTHONUNBUFFERED1
PYTHON_GET_PIP_SHA2565aefe6ade911d997af080b315ebcb7f882212d070465df544e1175ac2be519b4
PYTHON_GET_PIP_URLhttps://github.com/pypa/get-pip/raw/5eaac1050023df1f5c98b173b248c260023f2278/public/get-pip.py
PYTHON_PIP_VERSION22.0.4
PYTHON_SETUPTOOLS_VERSION57.5.0
PYTHON_VERSION3.8.13
SNUBA_RELEASE8e8cfb52cedaf059a658d135ad9eab45ca9f2615
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:7a6db449b51b92eac5c81cdbd82917785343f1664b2be57b22337b0a40c5b29d - 22.16% (29.9 MB)
[#001] sha256:e238bceb29579b6804c25c4e8c81612003af698ef4ca42c46fa87d4ef371653c - 0.76% (1.03 MB)
[#002] sha256:9c37eda4ff12eb9bd68ee8feacb78034f4524716d57673ff0a0ad82f88df487c - 8.0% (10.8 MB)
[#003] sha256:120078faa76053c068cf75960a6db2a9473ef941fdf2971b724769de253f534f - 0.0% (233 Bytes)
[#004] sha256:2d3523ccd6f419b6f4643fe4d472243848803763261afa6947386fcb161bcd16 - 2.24% (3.03 MB)
[#005] sha256:0873b2789a8203ad08aff7b9db8c6a99f53307c5d6275144a3bcc60a0d73d21f - 0.0% (141 Bytes)
[#006] sha256:5c141ec058143480ba09fdb9a44a10e505c92a558c34a1a34c5f430a56b4d688 - 0.0% (655 Bytes)
[#007] sha256:82c919721b5450bb17e9522b57c7182f480cfed8e446afda37007523bf3d0748 - 44.32% (59.8 MB)
[#008] sha256:f82c0cfccd2e269cbbf8cfcbaf9477b581cb5f7fd484061b7352d163946e05f0 - 0.04% (55.8 KB)
[#009] sha256:11b008964d65a45aeed221d15d655b72e1442e29b048957e60a737bd3ffa34dc - 6.96% (9.4 MB)
[#010] sha256:fba03335dc78c666c2e0a312ac8b8e707af6e3d06d6a41b7a09541b688fbfb1a - 0.55% (761 KB)
[#011] sha256:3f46ae0b4b0df92d6d0ea59b52c63d42917bd374d095ef6dec475dbf9af41b78 - 1.95% (2.63 MB)
[#012] sha256:a18f551727924367e6bd007743055531cafbca25abf7f94f5c6672e35b5bdac3 - 13.01% (17.6 MB)
/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 UTCWORKDIR /usr/src/snuba
0001-01-01 00:00:00 UTCCOPY requirements.txt ./
0001-01-01 00:00:00 UTCRUN set -ex; buildDeps=' gcc libc6-dev liblz4-dev libpcre3-dev wget zlib1g-dev '; apt-get update; apt-get install -y $buildDeps --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/; 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 $buildDeps; rm -rf /var/lib/apt/lists/*;
0001-01-01 00:00:00 UTCCOPY ./snuba/admin ./snuba/admin
0001-01-01 00:00:00 UTCRUN set -ex; apt-get update && apt-get install -y curl gnupg --no-install-recommends && curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && curl -fsSL https://deb.nodesource.com/setup_${NODE_VERSION}.x | bash - && apt-get update && apt-get install -y yarn nodejs --no-install-recommends && cd snuba/admin && yarn install && yarn run build && yarn cache clean && rm -rf node_modules && apt-get purge -y --auto-remove yarn curl nodejs gnupg && rm -rf /var/lib/apt/lists/* /etc/apt/sources.list.d/yarn.list
0001-01-01 00:00:00 UTCCOPY . ./
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 ./; pip install -e .; snuba --help;
0001-01-01 00:00:00 UTCRUN pip install -r requirements-test.txt
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.