parsedmarc (sha256:9f979c68cc019e3bf251468cc63a05c2571de3fafa1f0239bfaf6e913ece8d72)

Published 2025-01-11 02:49:02 +01:00 by stephan.hadan

Installation

docker pull git.hadan-it.com/stiebke/parsedmarc@sha256:9f979c68cc019e3bf251468cc63a05c2571de3fafa1f0239bfaf6e913ece8d72
sha256:9f979c68cc019e3bf251468cc63a05c2571de3fafa1f0239bfaf6e913ece8d72

Image layers

# debian.sh --arch 'arm64' out/ 'bullseye' '@1734912000'
RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates; rm -rf /var/lib/apt/lists/* # buildkit
ENV LANG=C.UTF-8
ENV PATH=/opt/pypy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV PYPY_VERSION=7.3.17
RUN /bin/sh -c set -eux; dpkgArch="$(dpkg --print-architecture)"; case "${dpkgArch##*-}" in 'amd64') url='https://downloads.python.org/pypy/pypy3.10-v7.3.17-linux64.tar.bz2'; sha256='fdcdb9b24f1a7726003586503fdeb264fd68fc37fbfcea022dcfe825a7fee18b'; ;; 'arm64') url='https://downloads.python.org/pypy/pypy3.10-v7.3.17-aarch64.tar.bz2'; sha256='53b6e5907df869c49e4eae7aca09fba16d150741097efb245892c1477d2395f2'; ;; 'i386') url='https://downloads.python.org/pypy/pypy3.10-v7.3.17-linux32.tar.bz2'; sha256='e534110e1047da37c1d586c392f74de3424f871d906a2083de6d41f2a8cc9164'; ;; *) echo >&2 "error: current architecture ($dpkgArch) does not have a corresponding PyPy $PYPY_VERSION binary release"; exit 1 ;; esac; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends bzip2 wget libexpat1 libncurses5 libncursesw6 libsqlite3-0 ; wget -O pypy.tar.bz2 "$url" --progress=dot:giga; echo "$sha256 *pypy.tar.bz2" | sha256sum --check --strict -; mkdir /opt/pypy; tar -xjC /opt/pypy --strip-components=1 -f pypy.tar.bz2; find /opt/pypy/lib* -depth -type d -a \( -name test -o -name tests \) -exec rm -rf '{}' +; rm pypy.tar.bz2; ln -sv '/opt/pypy/bin/pypy3' /usr/local/bin/; pypy3 --version; cd /opt/pypy/lib/pypy3.10; if [ -f _gdbm_build.py ]; then apt-get install -y --no-install-recommends gcc libc6-dev libgdbm-dev; pypy3 _gdbm_build.py; fi; if [ -f _ssl_build.py ]; then apt-get install -y --no-install-recommends gcc libc6-dev libssl-dev; pypy3 _ssl_build.py; fi; if [ -f _lzma_build.py ]; then apt-get install -y --no-install-recommends gcc libc6-dev liblzma-dev; pypy3 _lzma_build.py; fi; if [ -f _sqlite3_build.py ]; then apt-get install -y --no-install-recommends gcc libc6-dev libsqlite3-dev; pypy3 _sqlite3_build.py; fi; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; find /opt/pypy -type f -executable -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/*; pypy3 --version; find /opt/pypy -depth \( \( -type d -a \( -name test -o -name tests \) \) -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' \) \) \) -exec rm -rf '{}' + # buildkit
ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/3843bff3a0a61da5b63ea0b7d34794c5c51a2f11/get-pip.py
ENV PYTHON_GET_PIP_SHA256=95c5ee602b2f3cc50ae053d716c3c89bea62c58568f64d7d25924d399b2d5218
RUN /bin/sh -c set -ex; apt-get update; apt-get install -y --no-install-recommends wget; rm -rf /var/lib/apt/lists/*; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum --check --strict -; pipVersion="$(pypy3 -c 'import ensurepip; print(ensurepip._PIP_VERSION)')"; setuptoolsVersion="$(pypy3 -c 'import ensurepip; print(ensurepip._SETUPTOOLS_VERSION)')"; pypy3 get-pip.py --disable-pip-version-check --no-cache-dir "pip == $pipVersion" "setuptools == $setuptoolsVersion" ; apt-get purge -y --auto-remove wget; pip --version; find /opt/pypy -depth \( \( -type d -a \( -name test -o -name tests \) \) -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' \) \) \) -exec rm -rf '{}' +; rm -f get-pip.py # buildkit
CMD ["pypy3"]
ADD start.sh /start.sh # buildkit
RUN /bin/sh -c apt-get update && apt-get upgrade -y && apt-get install -y python3-pip python3-dev libxml2-dev libxslt-dev libz-dev libxml2-dev gcc libemail-outlook-message-perl python3-gi python3-gi-cairo gir1.2-secret-1 # buildkit
RUN /bin/sh -c pip install -U parsedmarc # buildkit
RUN /bin/sh -c apt-get purge --yes gcc && apt autoremove --yes && apt-get clean && rm -Rf /var/lib/{apt,dpkg}/ && rm -Rf /root/.cache/ && chmod +x /start.sh # buildkit
ENTRYPOINT ["/start.sh"]
Details
Container
2025-01-11 02:49:02 +01:00
0
OCI / Docker
linux/arm64
326 MiB
Versions (1) View all
latest 2025-01-11