backend (1.1.0)
Installation
docker pull git.wtf-eg.de/kompetenzinventar/backend:1.1.0
sha256:db1c1a437c6f499f8085fefb6ebd271170b24f405d9bc1f22bbb2a7cfd7c407f
Image Layers
ADD file:8ec69d882e7f29f0652d537557160e638168550f738d0d49f90a7ef96bf31787 in / |
CMD ["/bin/sh"] |
ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
ENV LANG=C.UTF-8 |
/bin/sh -c set -eux; apk add --no-cache ca-certificates ; |
ENV GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568 |
ENV PYTHON_VERSION=3.8.10 |
/bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps gnupg tar xz && 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" && export GNUPGHOME="$(mktemp -d)" && 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 -xJC /usr/src/python --strip-components=1 -f python.tar.xz && rm python.tar.xz && apk add --no-cache --virtual .build-deps bluez-dev bzip2-dev coreutils dpkg-dev dpkg expat-dev findutils gcc gdbm-dev libc-dev libffi-dev libnsl-dev libtirpc-dev linux-headers make ncurses-dev openssl-dev pax-utils readline-dev sqlite-dev tcl-dev tk tk-dev util-linux-dev xz-dev zlib-dev && apk del --no-network .fetch-deps && 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 && make -j "$(nproc)" EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" LDFLAGS="-Wl,--strip-all" && make install && 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 '{}' + && find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | xargs -rt apk add --no-cache --virtual .python-rundeps && apk del --no-network .build-deps && python3 --version |
/bin/sh -c cd /usr/local/bin && ln -s idle3 idle && ln -s pydoc3 pydoc && ln -s python3 python && ln -s python3-config python-config |
ENV PYTHON_PIP_VERSION=21.1.2 |
ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/936e08ce004d0b2fae8952c50f7ccce1bc578ce5/public/get-pip.py |
ENV PYTHON_GET_PIP_SHA256=8890955d56a8262348470a76dc432825f61a84a54e2985a86cd520f656a6e220 |
/bin/sh -c set -ex; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; python get-pip.py --disable-pip-version-check --no-cache-dir "pip==$PYTHON_PIP_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 |
CMD ["python3"] |
ENV PYROOT=/pyroot |
ENV PYTHONUSERBASE=/pyroot |
LABEL org.opencontainers.image.created=2021-06-27T14:21:39Z |
LABEL org.opencontainers.image.revision=a88060fb25292dffcf9df374dbdde2692021360e |
LABEL org.opencontainers.image.source=https://git.wtf-eg.de/kompetenzinventar/ki-backend-docker.git |
LABEL org.opencontainers.image.url=https://git.wtf-eg.de/kompetenzinventar/ki-backend-docker |
/bin/sh -c pip3 install six |
COPY dir:0fcdca485d5560a698ddc807058636a38f4787794e4bd5b5471abdf55ef3d5f7 in /pyroot/bin/ |
COPY dir:19a3873e279c80129709e293bf5740c1faa9637d8f53106223fa2db6d3042f66 in /pyroot/lib/ |
WORKDIR /app |
COPY dir:40bc1fe57cab2b5e00b04622bf99eb0cf9eb9612b4bca1a8fb82e6d8629e8899 in . |
CMD ["python3" "run_prod.py"] |
LABEL org.opencontainers.image.created=2022-02-28T18:31:35Z |
LABEL org.opencontainers.image.revision=f7278bf7ea29b0dbb8daed2a4970885d54b806be |
LABEL org.opencontainers.image.source=https://git.wtf-eg.de/kompetenzinventar/ki-backend.git |
LABEL org.opencontainers.image.url=https://git.wtf-eg.de/kompetenzinventar/ki-backend |
Labels
Key | Value |
---|---|
org.opencontainers.image.created | 2022-02-28T18:31:35Z |
org.opencontainers.image.revision | f7278bf7ea29b0dbb8daed2a4970885d54b806be |
org.opencontainers.image.source | https://git.wtf-eg.de/kompetenzinventar/ki-backend.git |
org.opencontainers.image.url | https://git.wtf-eg.de/kompetenzinventar/ki-backend |
Details
2023-11-07 14:26:59 +01:00
Versions (2)
View all
Container
1
OCI / Docker
linux/amd64
25 MiB