2025-01-30 01:03:30 UTC
78.3 MB
8.6.0
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PORT80
PYCURL_SSL_LIBRARYopenssl
SSL_VERSION3.1.5
TZCST-8
[#000] sha256:9a0ae9576d2bb781d51d7ec767766ca24bf421f170ffc041209c8f51af576c04 - 3.95% (3.09 MB)
[#001] sha256:b7874fcc59ad33aee253e0bd943aa241f8f26a27552398826162909bed33c6bf - 29.68% (23.2 MB)
[#002] sha256:aaea5237786f208286b90fe896329689c3f0369c386c9bec7d2c24d6a7be96b8 - 14.21% (11.1 MB)
[#003] sha256:9539c2e3e965788754ece9a9e9e836ea10f1b5a1c5aa65427f707d0620c502a9 - 0.0% (1.99 KB)
[#004] sha256:aea9401aa166a0011fe88be86a375e29babf59dcda985e80d7326da0263fd88c - 0.0% (632 Bytes)
[#005] sha256:548e3f0cf86dbba61316c8463db5dc5a7e837a774ca6249674d19c68498470ad - 0.0% (126 Bytes)
[#006] sha256:b7076fc9e9959c9a0154bf3c5fb59958a255573686318f3d3753072d19daa645 - 52.16% (40.8 MB)
/bin/sh -c #(nop) ADD file:c72888c0b9e0d228c68c01647a8997d55a5ed94346ead01c7b3b23d713ca2d77 in /
2023-12-20 09:49:06 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2024-02-08 12:46:40 UTC (buildkit.dockerfile.v0)LABEL maintainer=a76yyyy <[email protected]>
2024-02-08 12:46:40 UTC (buildkit.dockerfile.v0)LABEL org.opencontainers.image.source=https://github.com/qd-today/ddddocr-docker
2024-02-08 12:46:40 UTC (buildkit.dockerfile.v0)ARG TARGETARCH
2024-02-08 12:46:40 UTC (buildkit.dockerfile.v0)ARG DDDDOCR_VERSION=master
2024-02-08 12:46:40 UTC (buildkit.dockerfile.v0)RUN |2 TARGETARCH=386 DDDDOCR_VERSION=master /bin/sh -c sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && echo 'https://mirrors.ustc.edu.cn/alpine/edge/testing' >> /etc/apk/repositories && apk update && apk add --update --no-cache bash git tzdata ca-certificates file python3 py3-six && [[ "${TARGETARCH}" != "i386" ]] && [[ "${TARGETARCH}" != "s390x" ]] && { apk add --update --no-cache py3-pillow py3-onnxruntime py3-opencv libprotobuf-lite && apk add --update --no-cache --virtual .build_deps py3-pip py3-setuptools py3-wheel protobuf-dev py3-numpy-dev lld samurai build-base gcc python3-dev musl-dev linux-headers make && git clone --branch $DDDDOCR_VERSION https://github.com/sml2h3/ddddocr.git && cd /ddddocr && sed -i '/install_package_data/d' setup.py && sed -i '/install_requires/d' setup.py && sed -i '/python_requires/d' setup.py && pip install --no-cache-dir --compile --break-system-packages . && cd / && rm -rf /ddddocr && apk del .build_deps; } || { apk add --update --no-cache libprotobuf-lite && echo "Onnxruntime Builder does not currently support building i386 and s390x wheels";} && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit
2024-02-08 17:17:04 UTC (buildkit.dockerfile.v0)LABEL maintainer=a76yyyy <[email protected]>
2024-02-08 17:17:04 UTC (buildkit.dockerfile.v0)LABEL org.opencontainers.image.source=https://github.com/qiandao-today/pycurl-docker
2024-02-08 17:17:04 UTC (buildkit.dockerfile.v0)ENV PYCURL_SSL_LIBRARY=openssl
2024-02-08 17:17:04 UTC (buildkit.dockerfile.v0)ENV SSL_VERSION=3.1.5
2024-02-08 17:17:04 UTC (buildkit.dockerfile.v0)ENV CURL_VERSION=8.6.0
2024-02-08 17:17:04 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apk update && apk add --update --no-cache bash git tzdata ca-certificates python3 py3-six && apk add --update --no-cache --virtual .build_deps nano openssh-client cmake make perl autoconf g++ automake linux-headers libtool util-linux file libidn2-dev libgsasl-dev krb5-dev zstd-dev nghttp2-dev zlib-dev brotli-dev python3-dev py3-pip py3-setuptools py3-wheel c-ares-dev nghttp3-dev libpsl-dev && file /bin/busybox && [[ $(getconf LONG_BIT) = "64" && -z $(file /bin/busybox | grep -i "arm") ]] && libdir="lib64" || libdir="lib" && [[ $(getconf LONG_BIT) = "32" && -z $(file /bin/busybox | grep -i "arm") ]] && configtmp="setarch i386 ./config -m32" || configtmp="./config " && wget https://curl.haxx.se/download/curl-$CURL_VERSION.tar.bz2 && tar xjvf curl-$CURL_VERSION.tar.bz2 && rm curl-$CURL_VERSION.tar.bz2 && git clone --depth 1 -b openssl-$SSL_VERSION+quic https://github.com/quictls/openssl && git clone --depth 1 https://github.com/ngtcp2/ngtcp2 && cd openssl && echo $configtmp enable-tls1_3 --prefix=/usr && $configtmp enable-tls1_3 --prefix=/usr && make -j$(($(grep -c ^processor /proc/cpuinfo) - 0)) && make install_sw && cd .. && rm -rf openssl && cd ngtcp2 && git submodule update --init && autoreconf -fi && ./configure PKG_CONFIG_PATH=/usr/$libdir/pkgconfig LDFLAGS="-Wl,-rpath,/usr/$libdir" --prefix=/usr --enable-lib-only && make -j$(($(grep -c ^processor /proc/cpuinfo) - 0)) check && make install && cd .. && rm -rf ngtcp2 && cd curl-$CURL_VERSION && autoreconf -fi && LDFLAGS="-Wl,-rpath,/usr/$libdir" ./configure --with-openssl=/usr --with-nghttp2=/usr --with-nghttp3=/usr --with-ngtcp2=/usr --prefix=/usr --enable-ipv6 --enable-unix-sockets --with-libidn2 --disable-static --disable-ldap --with-pic --with-gssapi --enable-ares && make -j$(($(grep -c ^processor /proc/cpuinfo) - 0)) && make install && cd .. && rm -rf ./curl-$CURL_VERSION && [[ -n $(find /usr/lib64 -name libssl.so.*) ]] && { ln -s /usr/lib64/libssl.so.81.3 /usr/lib/ && ln -s /usr/lib64/libcrypto.so.81.3 /usr/lib/ ;} || echo "" && pip install --no-cache-dir --compile --break-system-packages pycurl && apk del .build_deps && apk add --update --no-cache libidn2 libgsasl zlib c-ares nghttp2 nghttp3 libpsl && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit
2025-01-30 01:01:34 UTC (buildkit.dockerfile.v0)LABEL maintainer=a76yyyy <[email protected]>
2025-01-30 01:01:34 UTC (buildkit.dockerfile.v0)LABEL org.opencontainers.image.source=https://github.com/qd-today/qd
2025-01-30 01:01:34 UTC (buildkit.dockerfile.v0)ADD ssh/qd_fetch /root/.ssh/id_rsa # buildkit
2025-01-30 01:01:34 UTC (buildkit.dockerfile.v0)ADD ssh/qd_fetch.pub /root/.ssh/id_rsa.pub # buildkit
2025-01-30 01:01:34 UTC (buildkit.dockerfile.v0)WORKDIR /usr/src/app
2025-01-30 01:03:30 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c sed -i 's/mirrors.ustc.edu.cn/dl-cdn.alpinelinux.org/g' /etc/apk/repositories && sed -i 's/edge/v3.19/g' /etc/apk/repositories && sed -i '/testing/d' /etc/apk/repositories && apk update && apk add --update --no-cache openssh-client && chmod 600 /root/.ssh/id_rsa && ssh-keyscan gitee.com > /root/.ssh/known_hosts && let num=$RANDOM%100+10 && sleep $num && git clone --depth 1 [email protected]:qd-today/qd.git /gitclone_tmp && yes | cp -rf /gitclone_tmp/. /usr/src/app && rm -rf /gitclone_tmp && chmod +x /usr/src/app/update.sh && ln -s /usr/src/app/update.sh /bin/update && apk add --update --no-cache openssh-client python3 py3-six py3-markupsafe py3-pycryptodome py3-tornado py3-wrapt py3-packaging py3-greenlet py3-urllib3 py3-cryptography py3-aiosignal py3-async-timeout py3-attrs py3-frozenlist py3-multidict py3-charset-normalizer py3-aiohttp py3-typing-extensions py3-yarl py3-cffi && [[ $(getconf LONG_BIT) = "32" ]] && echo "Tips: 32-bit systems do not support ddddocr, so there is no need to install numpy and opencv-python" || apk add --update --no-cache py3-numpy-dev py3-opencv py3-pillow && apk add --no-cache --virtual .build_deps cmake make perl autoconf g++ automake py3-pip py3-setuptools py3-wheel python3-dev linux-headers libtool util-linux && sed -i '/ddddocr/d' requirements.txt && sed -i '/packaging/d' requirements.txt && sed -i '/wrapt/d' requirements.txt && sed -i '/pycryptodome/d' requirements.txt && sed -i '/tornado/d' requirements.txt && sed -i '/MarkupSafe/d' requirements.txt && sed -i '/pillow/d' requirements.txt && sed -i '/opencv/d' requirements.txt && sed -i '/numpy/d' requirements.txt && sed -i '/greenlet/d' requirements.txt && sed -i '/urllib3/d' requirements.txt && sed -i '/cryptography/d' requirements.txt && sed -i '/aiosignal/d' requirements.txt && sed -i '/async-timeout/d' requirements.txt && sed -i '/attrs/d' requirements.txt && sed -i '/frozenlist/d' requirements.txt && sed -i '/multidict/d' requirements.txt && sed -i '/charset-normalizer/d' requirements.txt && sed -i '/aiohttp/d' requirements.txt && sed -i '/typing-extensions/d' requirements.txt && sed -i '/yarl/d' requirements.txt && sed -i '/cffi/d' requirements.txt && pip install --no-cache-dir -r requirements.txt --break-system-packages && apk del .build_deps && sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit
2025-01-30 01:03:30 UTC (buildkit.dockerfile.v0)ENV PORT=80
2025-01-30 01:03:30 UTC (buildkit.dockerfile.v0)EXPOSE map[80/tcp:{}]
2025-01-30 01:03:30 UTC (buildkit.dockerfile.v0)ENV TZ=CST-8
2025-01-30 01:03:30 UTC (buildkit.dockerfile.v0)VOLUME [/usr/src/app/config]
2025-01-30 01:03:30 UTC (buildkit.dockerfile.v0)CMD ["sh" "-c" "python /usr/src/app/run.py"]
2025-01-30 01:04:11 UTC
292 MB
8.6.0
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PORT80
PYCURL_SSL_LIBRARYopenssl
SSL_VERSION3.1.5
TZCST-8
[#000] sha256:dcccee43ad5d95c556da9df1c1d859fd9864643786d8c2c323ca9886c51b07b9 - 1.11% (3.25 MB)
[#001] sha256:04ca691379373035ef930e6348436a49c82a84446eb3d9fbeb31a32cef2da152 - 81.27% (237 MB)
[#002] sha256:f64b16f910c5da515e53f3bebca8603087e090ab0d24958ee010045dbdaec19e - 3.69% (10.8 MB)
[#003] sha256:7067007528c622f09839af6c8d47baa7bbb71c21b90fb3436598fd4a7a3b63dd - 0.0% (1.99 KB)
[#004] sha256:c6c81b0ec557b9fbd8c8f6b79fd7c8c171c4599a462d9fd04cf0add49e07bcdc - 0.0% (627 Bytes)
[#005] sha256:24613c122a9edb8eaba2360bf2fd8ce2329f7faaa6877a8eff3f89db73b02016 - 0.0% (125 Bytes)
[#006] sha256:1296a35d9aa747743d0fcc0a51a85a8649bcb4c4d6a0f4823f30fe8cc8b40a9d - 13.92% (40.7 MB)
/bin/sh -c #(nop) ADD file:8d267ecc5c308e11f1e3cbec8a98748c6c0abd6ec8afb0830244773f58409e63 in /
2023-12-20 08:48:17 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2024-02-08 12:48:42 UTC (buildkit.dockerfile.v0)LABEL maintainer=a76yyyy <[email protected]>
2024-02-08 12:48:42 UTC (buildkit.dockerfile.v0)LABEL org.opencontainers.image.source=https://github.com/qd-today/ddddocr-docker
2024-02-08 12:48:42 UTC (buildkit.dockerfile.v0)ARG TARGETARCH
2024-02-08 12:48:42 UTC (buildkit.dockerfile.v0)ARG DDDDOCR_VERSION=master
2024-02-08 12:48:42 UTC (buildkit.dockerfile.v0)RUN |2 TARGETARCH=amd64 DDDDOCR_VERSION=master /bin/sh -c sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && echo 'https://mirrors.ustc.edu.cn/alpine/edge/testing' >> /etc/apk/repositories && apk update && apk add --update --no-cache bash git tzdata ca-certificates file python3 py3-six && [[ "${TARGETARCH}" != "i386" ]] && [[ "${TARGETARCH}" != "s390x" ]] && { apk add --update --no-cache py3-pillow py3-onnxruntime py3-opencv libprotobuf-lite && apk add --update --no-cache --virtual .build_deps py3-pip py3-setuptools py3-wheel protobuf-dev py3-numpy-dev lld samurai build-base gcc python3-dev musl-dev linux-headers make && git clone --branch $DDDDOCR_VERSION https://github.com/sml2h3/ddddocr.git && cd /ddddocr && sed -i '/install_package_data/d' setup.py && sed -i '/install_requires/d' setup.py && sed -i '/python_requires/d' setup.py && pip install --no-cache-dir --compile --break-system-packages . && cd / && rm -rf /ddddocr && apk del .build_deps; } || { apk add --update --no-cache libprotobuf-lite && echo "Onnxruntime Builder does not currently support building i386 and s390x wheels";} && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit
2024-02-08 17:16:54 UTC (buildkit.dockerfile.v0)LABEL maintainer=a76yyyy <[email protected]>
2024-02-08 17:16:54 UTC (buildkit.dockerfile.v0)LABEL org.opencontainers.image.source=https://github.com/qiandao-today/pycurl-docker
2024-02-08 17:16:54 UTC (buildkit.dockerfile.v0)ENV PYCURL_SSL_LIBRARY=openssl
2024-02-08 17:16:54 UTC (buildkit.dockerfile.v0)ENV SSL_VERSION=3.1.5
2024-02-08 17:16:54 UTC (buildkit.dockerfile.v0)ENV CURL_VERSION=8.6.0
2024-02-08 17:16:54 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apk update && apk add --update --no-cache bash git tzdata ca-certificates python3 py3-six && apk add --update --no-cache --virtual .build_deps nano openssh-client cmake make perl autoconf g++ automake linux-headers libtool util-linux file libidn2-dev libgsasl-dev krb5-dev zstd-dev nghttp2-dev zlib-dev brotli-dev python3-dev py3-pip py3-setuptools py3-wheel c-ares-dev nghttp3-dev libpsl-dev && file /bin/busybox && [[ $(getconf LONG_BIT) = "64" && -z $(file /bin/busybox | grep -i "arm") ]] && libdir="lib64" || libdir="lib" && [[ $(getconf LONG_BIT) = "32" && -z $(file /bin/busybox | grep -i "arm") ]] && configtmp="setarch i386 ./config -m32" || configtmp="./config " && wget https://curl.haxx.se/download/curl-$CURL_VERSION.tar.bz2 && tar xjvf curl-$CURL_VERSION.tar.bz2 && rm curl-$CURL_VERSION.tar.bz2 && git clone --depth 1 -b openssl-$SSL_VERSION+quic https://github.com/quictls/openssl && git clone --depth 1 https://github.com/ngtcp2/ngtcp2 && cd openssl && echo $configtmp enable-tls1_3 --prefix=/usr && $configtmp enable-tls1_3 --prefix=/usr && make -j$(($(grep -c ^processor /proc/cpuinfo) - 0)) && make install_sw && cd .. && rm -rf openssl && cd ngtcp2 && git submodule update --init && autoreconf -fi && ./configure PKG_CONFIG_PATH=/usr/$libdir/pkgconfig LDFLAGS="-Wl,-rpath,/usr/$libdir" --prefix=/usr --enable-lib-only && make -j$(($(grep -c ^processor /proc/cpuinfo) - 0)) check && make install && cd .. && rm -rf ngtcp2 && cd curl-$CURL_VERSION && autoreconf -fi && LDFLAGS="-Wl,-rpath,/usr/$libdir" ./configure --with-openssl=/usr --with-nghttp2=/usr --with-nghttp3=/usr --with-ngtcp2=/usr --prefix=/usr --enable-ipv6 --enable-unix-sockets --with-libidn2 --disable-static --disable-ldap --with-pic --with-gssapi --enable-ares && make -j$(($(grep -c ^processor /proc/cpuinfo) - 0)) && make install && cd .. && rm -rf ./curl-$CURL_VERSION && [[ -n $(find /usr/lib64 -name libssl.so.*) ]] && { ln -s /usr/lib64/libssl.so.81.3 /usr/lib/ && ln -s /usr/lib64/libcrypto.so.81.3 /usr/lib/ ;} || echo "" && pip install --no-cache-dir --compile --break-system-packages pycurl && apk del .build_deps && apk add --update --no-cache libidn2 libgsasl zlib c-ares nghttp2 nghttp3 libpsl && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit
2025-01-30 01:01:42 UTC (buildkit.dockerfile.v0)LABEL maintainer=a76yyyy <[email protected]>
2025-01-30 01:01:42 UTC (buildkit.dockerfile.v0)LABEL org.opencontainers.image.source=https://github.com/qd-today/qd
2025-01-30 01:01:42 UTC (buildkit.dockerfile.v0)ADD ssh/qd_fetch /root/.ssh/id_rsa # buildkit
2025-01-30 01:01:42 UTC (buildkit.dockerfile.v0)ADD ssh/qd_fetch.pub /root/.ssh/id_rsa.pub # buildkit
2025-01-30 01:01:42 UTC (buildkit.dockerfile.v0)WORKDIR /usr/src/app
2025-01-30 01:04:11 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c sed -i 's/mirrors.ustc.edu.cn/dl-cdn.alpinelinux.org/g' /etc/apk/repositories && sed -i 's/edge/v3.19/g' /etc/apk/repositories && sed -i '/testing/d' /etc/apk/repositories && apk update && apk add --update --no-cache openssh-client && chmod 600 /root/.ssh/id_rsa && ssh-keyscan gitee.com > /root/.ssh/known_hosts && let num=$RANDOM%100+10 && sleep $num && git clone --depth 1 [email protected]:qd-today/qd.git /gitclone_tmp && yes | cp -rf /gitclone_tmp/. /usr/src/app && rm -rf /gitclone_tmp && chmod +x /usr/src/app/update.sh && ln -s /usr/src/app/update.sh /bin/update && apk add --update --no-cache openssh-client python3 py3-six py3-markupsafe py3-pycryptodome py3-tornado py3-wrapt py3-packaging py3-greenlet py3-urllib3 py3-cryptography py3-aiosignal py3-async-timeout py3-attrs py3-frozenlist py3-multidict py3-charset-normalizer py3-aiohttp py3-typing-extensions py3-yarl py3-cffi && [[ $(getconf LONG_BIT) = "32" ]] && echo "Tips: 32-bit systems do not support ddddocr, so there is no need to install numpy and opencv-python" || apk add --update --no-cache py3-numpy-dev py3-opencv py3-pillow && apk add --no-cache --virtual .build_deps cmake make perl autoconf g++ automake py3-pip py3-setuptools py3-wheel python3-dev linux-headers libtool util-linux && sed -i '/ddddocr/d' requirements.txt && sed -i '/packaging/d' requirements.txt && sed -i '/wrapt/d' requirements.txt && sed -i '/pycryptodome/d' requirements.txt && sed -i '/tornado/d' requirements.txt && sed -i '/MarkupSafe/d' requirements.txt && sed -i '/pillow/d' requirements.txt && sed -i '/opencv/d' requirements.txt && sed -i '/numpy/d' requirements.txt && sed -i '/greenlet/d' requirements.txt && sed -i '/urllib3/d' requirements.txt && sed -i '/cryptography/d' requirements.txt && sed -i '/aiosignal/d' requirements.txt && sed -i '/async-timeout/d' requirements.txt && sed -i '/attrs/d' requirements.txt && sed -i '/frozenlist/d' requirements.txt && sed -i '/multidict/d' requirements.txt && sed -i '/charset-normalizer/d' requirements.txt && sed -i '/aiohttp/d' requirements.txt && sed -i '/typing-extensions/d' requirements.txt && sed -i '/yarl/d' requirements.txt && sed -i '/cffi/d' requirements.txt && pip install --no-cache-dir -r requirements.txt --break-system-packages && apk del .build_deps && sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit
2025-01-30 01:04:11 UTC (buildkit.dockerfile.v0)ENV PORT=80
2025-01-30 01:04:11 UTC (buildkit.dockerfile.v0)EXPOSE map[80/tcp:{}]
2025-01-30 01:04:11 UTC (buildkit.dockerfile.v0)ENV TZ=CST-8
2025-01-30 01:04:11 UTC (buildkit.dockerfile.v0)VOLUME [/usr/src/app/config]
2025-01-30 01:04:11 UTC (buildkit.dockerfile.v0)CMD ["sh" "-c" "python /usr/src/app/run.py"]
2025-01-30 01:05:29 UTC
77.5 MB
8.6.0
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PORT80
PYCURL_SSL_LIBRARYopenssl
SSL_VERSION3.1.5
TZCST-8
[#000] sha256:aaff554e71d433af45d8ef40e3946251f216644fc24ce3354eca0230139b3b3d - 3.89% (3.02 MB)
[#001] sha256:bba0b113f9e538263b40eba273719764143d98c333a7d3985e7eb451632e240b - 28.78% (22.3 MB)
[#002] sha256:5f4dcc67abc16ff722f2cca914ad8ae9eca67e36d5a1051978f6a40e561ba6f7 - 13.03% (10.1 MB)
[#003] sha256:d0f38a2c159a2521788e4fb2524720b53315892af7e3fc32edc782a91b959702 - 0.0% (1.99 KB)
[#004] sha256:7898fac001fd689dc184693f5ef416b9d8e8bca578829065d0487180c8cc1723 - 0.0% (631 Bytes)
[#005] sha256:89ca07add68a82c40cb202643826b26cb7737d920a195bb7dc9779bdc2672e7d - 0.0% (127 Bytes)
[#006] sha256:a7d45137e73f7aec0e8a53622dca652b79de2110b1ba8d032baf7879a6bdc70f - 54.3% (42.1 MB)
/bin/sh -c #(nop) ADD file:3ed92ba159897ce54bcb0c4c7afe7d7ffc34f1b20a210dce6500fd68a454a88a in /
2023-12-20 00:49:18 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2024-02-08 12:46:47 UTC (buildkit.dockerfile.v0)LABEL maintainer=a76yyyy <[email protected]>
2024-02-08 12:46:47 UTC (buildkit.dockerfile.v0)LABEL org.opencontainers.image.source=https://github.com/qd-today/ddddocr-docker
2024-02-08 12:46:47 UTC (buildkit.dockerfile.v0)ARG TARGETARCH
2024-02-08 12:46:47 UTC (buildkit.dockerfile.v0)ARG DDDDOCR_VERSION=master
2024-02-08 12:46:47 UTC (buildkit.dockerfile.v0)RUN |2 TARGETARCH=arm DDDDOCR_VERSION=master /bin/sh -c sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && echo 'https://mirrors.ustc.edu.cn/alpine/edge/testing' >> /etc/apk/repositories && apk update && apk add --update --no-cache bash git tzdata ca-certificates file python3 py3-six && [[ "${TARGETARCH}" != "i386" ]] && [[ "${TARGETARCH}" != "s390x" ]] && { apk add --update --no-cache py3-pillow py3-onnxruntime py3-opencv libprotobuf-lite && apk add --update --no-cache --virtual .build_deps py3-pip py3-setuptools py3-wheel protobuf-dev py3-numpy-dev lld samurai build-base gcc python3-dev musl-dev linux-headers make && git clone --branch $DDDDOCR_VERSION https://github.com/sml2h3/ddddocr.git && cd /ddddocr && sed -i '/install_package_data/d' setup.py && sed -i '/install_requires/d' setup.py && sed -i '/python_requires/d' setup.py && pip install --no-cache-dir --compile --break-system-packages . && cd / && rm -rf /ddddocr && apk del .build_deps; } || { apk add --update --no-cache libprotobuf-lite && echo "Onnxruntime Builder does not currently support building i386 and s390x wheels";} && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit
2024-02-08 19:27:37 UTC (buildkit.dockerfile.v0)LABEL maintainer=a76yyyy <[email protected]>
2024-02-08 19:27:37 UTC (buildkit.dockerfile.v0)LABEL org.opencontainers.image.source=https://github.com/qiandao-today/pycurl-docker
2024-02-08 19:27:37 UTC (buildkit.dockerfile.v0)ENV PYCURL_SSL_LIBRARY=openssl
2024-02-08 19:27:37 UTC (buildkit.dockerfile.v0)ENV SSL_VERSION=3.1.5
2024-02-08 19:27:37 UTC (buildkit.dockerfile.v0)ENV CURL_VERSION=8.6.0
2024-02-08 19:27:37 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apk update && apk add --update --no-cache bash git tzdata ca-certificates python3 py3-six && apk add --update --no-cache --virtual .build_deps nano openssh-client cmake make perl autoconf g++ automake linux-headers libtool util-linux file libidn2-dev libgsasl-dev krb5-dev zstd-dev nghttp2-dev zlib-dev brotli-dev python3-dev py3-pip py3-setuptools py3-wheel c-ares-dev nghttp3-dev libpsl-dev && file /bin/busybox && [[ $(getconf LONG_BIT) = "64" && -z $(file /bin/busybox | grep -i "arm") ]] && libdir="lib64" || libdir="lib" && [[ $(getconf LONG_BIT) = "32" && -z $(file /bin/busybox | grep -i "arm") ]] && configtmp="setarch i386 ./config -m32" || configtmp="./config " && wget https://curl.haxx.se/download/curl-$CURL_VERSION.tar.bz2 && tar xjvf curl-$CURL_VERSION.tar.bz2 && rm curl-$CURL_VERSION.tar.bz2 && git clone --depth 1 -b openssl-$SSL_VERSION+quic https://github.com/quictls/openssl && git clone --depth 1 https://github.com/ngtcp2/ngtcp2 && cd openssl && echo $configtmp enable-tls1_3 --prefix=/usr && $configtmp enable-tls1_3 --prefix=/usr && make -j$(($(grep -c ^processor /proc/cpuinfo) - 0)) && make install_sw && cd .. && rm -rf openssl && cd ngtcp2 && git submodule update --init && autoreconf -fi && ./configure PKG_CONFIG_PATH=/usr/$libdir/pkgconfig LDFLAGS="-Wl,-rpath,/usr/$libdir" --prefix=/usr --enable-lib-only && make -j$(($(grep -c ^processor /proc/cpuinfo) - 0)) check && make install && cd .. && rm -rf ngtcp2 && cd curl-$CURL_VERSION && autoreconf -fi && LDFLAGS="-Wl,-rpath,/usr/$libdir" ./configure --with-openssl=/usr --with-nghttp2=/usr --with-nghttp3=/usr --with-ngtcp2=/usr --prefix=/usr --enable-ipv6 --enable-unix-sockets --with-libidn2 --disable-static --disable-ldap --with-pic --with-gssapi --enable-ares && make -j$(($(grep -c ^processor /proc/cpuinfo) - 0)) && make install && cd .. && rm -rf ./curl-$CURL_VERSION && [[ -n $(find /usr/lib64 -name libssl.so.*) ]] && { ln -s /usr/lib64/libssl.so.81.3 /usr/lib/ && ln -s /usr/lib64/libcrypto.so.81.3 /usr/lib/ ;} || echo "" && pip install --no-cache-dir --compile --break-system-packages pycurl && apk del .build_deps && apk add --update --no-cache libidn2 libgsasl zlib c-ares nghttp2 nghttp3 libpsl && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit
2025-01-30 01:01:38 UTC (buildkit.dockerfile.v0)LABEL maintainer=a76yyyy <[email protected]>
2025-01-30 01:01:38 UTC (buildkit.dockerfile.v0)LABEL org.opencontainers.image.source=https://github.com/qd-today/qd
2025-01-30 01:01:38 UTC (buildkit.dockerfile.v0)ADD ssh/qd_fetch /root/.ssh/id_rsa # buildkit
2025-01-30 01:01:39 UTC (buildkit.dockerfile.v0)ADD ssh/qd_fetch.pub /root/.ssh/id_rsa.pub # buildkit
2025-01-30 01:01:39 UTC (buildkit.dockerfile.v0)WORKDIR /usr/src/app
2025-01-30 01:05:29 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c sed -i 's/mirrors.ustc.edu.cn/dl-cdn.alpinelinux.org/g' /etc/apk/repositories && sed -i 's/edge/v3.19/g' /etc/apk/repositories && sed -i '/testing/d' /etc/apk/repositories && apk update && apk add --update --no-cache openssh-client && chmod 600 /root/.ssh/id_rsa && ssh-keyscan gitee.com > /root/.ssh/known_hosts && let num=$RANDOM%100+10 && sleep $num && git clone --depth 1 [email protected]:qd-today/qd.git /gitclone_tmp && yes | cp -rf /gitclone_tmp/. /usr/src/app && rm -rf /gitclone_tmp && chmod +x /usr/src/app/update.sh && ln -s /usr/src/app/update.sh /bin/update && apk add --update --no-cache openssh-client python3 py3-six py3-markupsafe py3-pycryptodome py3-tornado py3-wrapt py3-packaging py3-greenlet py3-urllib3 py3-cryptography py3-aiosignal py3-async-timeout py3-attrs py3-frozenlist py3-multidict py3-charset-normalizer py3-aiohttp py3-typing-extensions py3-yarl py3-cffi && [[ $(getconf LONG_BIT) = "32" ]] && echo "Tips: 32-bit systems do not support ddddocr, so there is no need to install numpy and opencv-python" || apk add --update --no-cache py3-numpy-dev py3-opencv py3-pillow && apk add --no-cache --virtual .build_deps cmake make perl autoconf g++ automake py3-pip py3-setuptools py3-wheel python3-dev linux-headers libtool util-linux && sed -i '/ddddocr/d' requirements.txt && sed -i '/packaging/d' requirements.txt && sed -i '/wrapt/d' requirements.txt && sed -i '/pycryptodome/d' requirements.txt && sed -i '/tornado/d' requirements.txt && sed -i '/MarkupSafe/d' requirements.txt && sed -i '/pillow/d' requirements.txt && sed -i '/opencv/d' requirements.txt && sed -i '/numpy/d' requirements.txt && sed -i '/greenlet/d' requirements.txt && sed -i '/urllib3/d' requirements.txt && sed -i '/cryptography/d' requirements.txt && sed -i '/aiosignal/d' requirements.txt && sed -i '/async-timeout/d' requirements.txt && sed -i '/attrs/d' requirements.txt && sed -i '/frozenlist/d' requirements.txt && sed -i '/multidict/d' requirements.txt && sed -i '/charset-normalizer/d' requirements.txt && sed -i '/aiohttp/d' requirements.txt && sed -i '/typing-extensions/d' requirements.txt && sed -i '/yarl/d' requirements.txt && sed -i '/cffi/d' requirements.txt && pip install --no-cache-dir -r requirements.txt --break-system-packages && apk del .build_deps && sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit
2025-01-30 01:05:29 UTC (buildkit.dockerfile.v0)ENV PORT=80
2025-01-30 01:05:29 UTC (buildkit.dockerfile.v0)EXPOSE map[80/tcp:{}]
2025-01-30 01:05:29 UTC (buildkit.dockerfile.v0)ENV TZ=CST-8
2025-01-30 01:05:29 UTC (buildkit.dockerfile.v0)VOLUME [/usr/src/app/config]
2025-01-30 01:05:29 UTC (buildkit.dockerfile.v0)CMD ["sh" "-c" "python /usr/src/app/run.py"]
2025-01-30 01:06:50 UTC
260 MB
8.6.0
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PORT80
PYCURL_SSL_LIBRARYopenssl
SSL_VERSION3.1.5
TZCST-8
[#000] sha256:98d5775436f5c317aee41510cbf2398c4cf0a2ed38948a477c2987e45f63b3c0 - 1.07% (2.78 MB)
[#001] sha256:400e96ebcecb7c9e11012079a3433bc0b4c26d0453c987a8618cd18a6f8e06af - 79.56% (207 MB)
[#002] sha256:108d4b96831602d6b2f80391fd9ad09b10c3e2a4ddbf9df1feeef4a0e7cd738c - 3.58% (9.32 MB)
[#003] sha256:eeb7f5cfa880375885c3b28c6abe8895a5b50d229f1e4064b45bae16777d759b - 0.0% (1.99 KB)
[#004] sha256:64faf190bbad80db211bcefd5fbefd7af502aa65b3bb7ca9e4820036e27f198a - 0.0% (631 Bytes)
[#005] sha256:24613c122a9edb8eaba2360bf2fd8ce2329f7faaa6877a8eff3f89db73b02016 - 0.0% (125 Bytes)
[#006] sha256:3ead6129d9a013435852a8582bf5431234889158ec52331e2d3e5e20b5eca413 - 15.79% (41.1 MB)
/bin/sh -c #(nop) ADD file:ddb1957eeab83fe735711eba3d25734bffcadc6bd92cb853618b55dbb8ae3bcb in /
2023-12-20 01:13:41 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2024-02-08 12:49:39 UTC (buildkit.dockerfile.v0)LABEL maintainer=a76yyyy <[email protected]>
2024-02-08 12:49:39 UTC (buildkit.dockerfile.v0)LABEL org.opencontainers.image.source=https://github.com/qd-today/ddddocr-docker
2024-02-08 12:49:39 UTC (buildkit.dockerfile.v0)ARG TARGETARCH
2024-02-08 12:49:39 UTC (buildkit.dockerfile.v0)ARG DDDDOCR_VERSION=master
2024-02-08 12:49:39 UTC (buildkit.dockerfile.v0)RUN |2 TARGETARCH=arm DDDDOCR_VERSION=master /bin/sh -c sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && echo 'https://mirrors.ustc.edu.cn/alpine/edge/testing' >> /etc/apk/repositories && apk update && apk add --update --no-cache bash git tzdata ca-certificates file python3 py3-six && [[ "${TARGETARCH}" != "i386" ]] && [[ "${TARGETARCH}" != "s390x" ]] && { apk add --update --no-cache py3-pillow py3-onnxruntime py3-opencv libprotobuf-lite && apk add --update --no-cache --virtual .build_deps py3-pip py3-setuptools py3-wheel protobuf-dev py3-numpy-dev lld samurai build-base gcc python3-dev musl-dev linux-headers make && git clone --branch $DDDDOCR_VERSION https://github.com/sml2h3/ddddocr.git && cd /ddddocr && sed -i '/install_package_data/d' setup.py && sed -i '/install_requires/d' setup.py && sed -i '/python_requires/d' setup.py && pip install --no-cache-dir --compile --break-system-packages . && cd / && rm -rf /ddddocr && apk del .build_deps; } || { apk add --update --no-cache libprotobuf-lite && echo "Onnxruntime Builder does not currently support building i386 and s390x wheels";} && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit
2024-02-08 19:32:16 UTC (buildkit.dockerfile.v0)LABEL maintainer=a76yyyy <[email protected]>
2024-02-08 19:32:16 UTC (buildkit.dockerfile.v0)LABEL org.opencontainers.image.source=https://github.com/qiandao-today/pycurl-docker
2024-02-08 19:32:16 UTC (buildkit.dockerfile.v0)ENV PYCURL_SSL_LIBRARY=openssl
2024-02-08 19:32:16 UTC (buildkit.dockerfile.v0)ENV SSL_VERSION=3.1.5
2024-02-08 19:32:16 UTC (buildkit.dockerfile.v0)ENV CURL_VERSION=8.6.0
2024-02-08 19:32:16 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apk update && apk add --update --no-cache bash git tzdata ca-certificates python3 py3-six && apk add --update --no-cache --virtual .build_deps nano openssh-client cmake make perl autoconf g++ automake linux-headers libtool util-linux file libidn2-dev libgsasl-dev krb5-dev zstd-dev nghttp2-dev zlib-dev brotli-dev python3-dev py3-pip py3-setuptools py3-wheel c-ares-dev nghttp3-dev libpsl-dev && file /bin/busybox && [[ $(getconf LONG_BIT) = "64" && -z $(file /bin/busybox | grep -i "arm") ]] && libdir="lib64" || libdir="lib" && [[ $(getconf LONG_BIT) = "32" && -z $(file /bin/busybox | grep -i "arm") ]] && configtmp="setarch i386 ./config -m32" || configtmp="./config " && wget https://curl.haxx.se/download/curl-$CURL_VERSION.tar.bz2 && tar xjvf curl-$CURL_VERSION.tar.bz2 && rm curl-$CURL_VERSION.tar.bz2 && git clone --depth 1 -b openssl-$SSL_VERSION+quic https://github.com/quictls/openssl && git clone --depth 1 https://github.com/ngtcp2/ngtcp2 && cd openssl && echo $configtmp enable-tls1_3 --prefix=/usr && $configtmp enable-tls1_3 --prefix=/usr && make -j$(($(grep -c ^processor /proc/cpuinfo) - 0)) && make install_sw && cd .. && rm -rf openssl && cd ngtcp2 && git submodule update --init && autoreconf -fi && ./configure PKG_CONFIG_PATH=/usr/$libdir/pkgconfig LDFLAGS="-Wl,-rpath,/usr/$libdir" --prefix=/usr --enable-lib-only && make -j$(($(grep -c ^processor /proc/cpuinfo) - 0)) check && make install && cd .. && rm -rf ngtcp2 && cd curl-$CURL_VERSION && autoreconf -fi && LDFLAGS="-Wl,-rpath,/usr/$libdir" ./configure --with-openssl=/usr --with-nghttp2=/usr --with-nghttp3=/usr --with-ngtcp2=/usr --prefix=/usr --enable-ipv6 --enable-unix-sockets --with-libidn2 --disable-static --disable-ldap --with-pic --with-gssapi --enable-ares && make -j$(($(grep -c ^processor /proc/cpuinfo) - 0)) && make install && cd .. && rm -rf ./curl-$CURL_VERSION && [[ -n $(find /usr/lib64 -name libssl.so.*) ]] && { ln -s /usr/lib64/libssl.so.81.3 /usr/lib/ && ln -s /usr/lib64/libcrypto.so.81.3 /usr/lib/ ;} || echo "" && pip install --no-cache-dir --compile --break-system-packages pycurl && apk del .build_deps && apk add --update --no-cache libidn2 libgsasl zlib c-ares nghttp2 nghttp3 libpsl && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit
2025-01-30 01:01:42 UTC (buildkit.dockerfile.v0)LABEL maintainer=a76yyyy <[email protected]>
2025-01-30 01:01:42 UTC (buildkit.dockerfile.v0)LABEL org.opencontainers.image.source=https://github.com/qd-today/qd
2025-01-30 01:01:42 UTC (buildkit.dockerfile.v0)ADD ssh/qd_fetch /root/.ssh/id_rsa # buildkit
2025-01-30 01:01:42 UTC (buildkit.dockerfile.v0)ADD ssh/qd_fetch.pub /root/.ssh/id_rsa.pub # buildkit
2025-01-30 01:01:42 UTC (buildkit.dockerfile.v0)WORKDIR /usr/src/app
2025-01-30 01:06:50 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c sed -i 's/mirrors.ustc.edu.cn/dl-cdn.alpinelinux.org/g' /etc/apk/repositories && sed -i 's/edge/v3.19/g' /etc/apk/repositories && sed -i '/testing/d' /etc/apk/repositories && apk update && apk add --update --no-cache openssh-client && chmod 600 /root/.ssh/id_rsa && ssh-keyscan gitee.com > /root/.ssh/known_hosts && let num=$RANDOM%100+10 && sleep $num && git clone --depth 1 [email protected]:qd-today/qd.git /gitclone_tmp && yes | cp -rf /gitclone_tmp/. /usr/src/app && rm -rf /gitclone_tmp && chmod +x /usr/src/app/update.sh && ln -s /usr/src/app/update.sh /bin/update && apk add --update --no-cache openssh-client python3 py3-six py3-markupsafe py3-pycryptodome py3-tornado py3-wrapt py3-packaging py3-greenlet py3-urllib3 py3-cryptography py3-aiosignal py3-async-timeout py3-attrs py3-frozenlist py3-multidict py3-charset-normalizer py3-aiohttp py3-typing-extensions py3-yarl py3-cffi && [[ $(getconf LONG_BIT) = "32" ]] && echo "Tips: 32-bit systems do not support ddddocr, so there is no need to install numpy and opencv-python" || apk add --update --no-cache py3-numpy-dev py3-opencv py3-pillow && apk add --no-cache --virtual .build_deps cmake make perl autoconf g++ automake py3-pip py3-setuptools py3-wheel python3-dev linux-headers libtool util-linux && sed -i '/ddddocr/d' requirements.txt && sed -i '/packaging/d' requirements.txt && sed -i '/wrapt/d' requirements.txt && sed -i '/pycryptodome/d' requirements.txt && sed -i '/tornado/d' requirements.txt && sed -i '/MarkupSafe/d' requirements.txt && sed -i '/pillow/d' requirements.txt && sed -i '/opencv/d' requirements.txt && sed -i '/numpy/d' requirements.txt && sed -i '/greenlet/d' requirements.txt && sed -i '/urllib3/d' requirements.txt && sed -i '/cryptography/d' requirements.txt && sed -i '/aiosignal/d' requirements.txt && sed -i '/async-timeout/d' requirements.txt && sed -i '/attrs/d' requirements.txt && sed -i '/frozenlist/d' requirements.txt && sed -i '/multidict/d' requirements.txt && sed -i '/charset-normalizer/d' requirements.txt && sed -i '/aiohttp/d' requirements.txt && sed -i '/typing-extensions/d' requirements.txt && sed -i '/yarl/d' requirements.txt && sed -i '/cffi/d' requirements.txt && pip install --no-cache-dir -r requirements.txt --break-system-packages && apk del .build_deps && sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit
2025-01-30 01:06:50 UTC (buildkit.dockerfile.v0)ENV PORT=80
2025-01-30 01:06:50 UTC (buildkit.dockerfile.v0)EXPOSE map[80/tcp:{}]
2025-01-30 01:06:50 UTC (buildkit.dockerfile.v0)ENV TZ=CST-8
2025-01-30 01:06:50 UTC (buildkit.dockerfile.v0)VOLUME [/usr/src/app/config]
2025-01-30 01:06:50 UTC (buildkit.dockerfile.v0)CMD ["sh" "-c" "python /usr/src/app/run.py"]
2025-01-30 01:05:31 UTC
281 MB
8.6.0
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PORT80
PYCURL_SSL_LIBRARYopenssl
SSL_VERSION3.1.5
TZCST-8
[#000] sha256:ea429786d9b37ea994d0f0723763e9e18398e5c93a2944ca94431618e877cd95 - 1.14% (3.19 MB)
[#001] sha256:c40a6902baf9ac17b5f03b9d49e8dda8fd74dfce54720f997b45ced4d4e358f2 - 80.51% (226 MB)
[#002] sha256:243b4902f4e7ba5c27c647fd609821061f82fb87ceacf6a476f214891b23ad0d - 3.78% (10.6 MB)
[#003] sha256:7067007528c622f09839af6c8d47baa7bbb71c21b90fb3436598fd4a7a3b63dd - 0.0% (1.99 KB)
[#004] sha256:c6c81b0ec557b9fbd8c8f6b79fd7c8c171c4599a462d9fd04cf0add49e07bcdc - 0.0% (627 Bytes)
[#005] sha256:24613c122a9edb8eaba2360bf2fd8ce2329f7faaa6877a8eff3f89db73b02016 - 0.0% (125 Bytes)
[#006] sha256:f5d32cc06ccabeab0a4b638839feeb928c10c0cc8aab37b489aa8036b3ac1a71 - 14.57% (40.9 MB)
/bin/sh -c #(nop) ADD file:4e8137413d9f18d24a8e5fdd22421b709b9cbd7b90be9decf20fa4449e7bb381 in /
2023-12-20 01:18:50 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2024-02-08 12:49:41 UTC (buildkit.dockerfile.v0)LABEL maintainer=a76yyyy <[email protected]>
2024-02-08 12:49:41 UTC (buildkit.dockerfile.v0)LABEL org.opencontainers.image.source=https://github.com/qd-today/ddddocr-docker
2024-02-08 12:49:41 UTC (buildkit.dockerfile.v0)ARG TARGETARCH
2024-02-08 12:49:41 UTC (buildkit.dockerfile.v0)ARG DDDDOCR_VERSION=master
2024-02-08 12:49:41 UTC (buildkit.dockerfile.v0)RUN |2 TARGETARCH=arm64 DDDDOCR_VERSION=master /bin/sh -c sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && echo 'https://mirrors.ustc.edu.cn/alpine/edge/testing' >> /etc/apk/repositories && apk update && apk add --update --no-cache bash git tzdata ca-certificates file python3 py3-six && [[ "${TARGETARCH}" != "i386" ]] && [[ "${TARGETARCH}" != "s390x" ]] && { apk add --update --no-cache py3-pillow py3-onnxruntime py3-opencv libprotobuf-lite && apk add --update --no-cache --virtual .build_deps py3-pip py3-setuptools py3-wheel protobuf-dev py3-numpy-dev lld samurai build-base gcc python3-dev musl-dev linux-headers make && git clone --branch $DDDDOCR_VERSION https://github.com/sml2h3/ddddocr.git && cd /ddddocr && sed -i '/install_package_data/d' setup.py && sed -i '/install_requires/d' setup.py && sed -i '/python_requires/d' setup.py && pip install --no-cache-dir --compile --break-system-packages . && cd / && rm -rf /ddddocr && apk del .build_deps; } || { apk add --update --no-cache libprotobuf-lite && echo "Onnxruntime Builder does not currently support building i386 and s390x wheels";} && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit
2024-02-08 19:34:46 UTC (buildkit.dockerfile.v0)LABEL maintainer=a76yyyy <[email protected]>
2024-02-08 19:34:46 UTC (buildkit.dockerfile.v0)LABEL org.opencontainers.image.source=https://github.com/qiandao-today/pycurl-docker
2024-02-08 19:34:46 UTC (buildkit.dockerfile.v0)ENV PYCURL_SSL_LIBRARY=openssl
2024-02-08 19:34:46 UTC (buildkit.dockerfile.v0)ENV SSL_VERSION=3.1.5
2024-02-08 19:34:46 UTC (buildkit.dockerfile.v0)ENV CURL_VERSION=8.6.0
2024-02-08 19:34:46 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apk update && apk add --update --no-cache bash git tzdata ca-certificates python3 py3-six && apk add --update --no-cache --virtual .build_deps nano openssh-client cmake make perl autoconf g++ automake linux-headers libtool util-linux file libidn2-dev libgsasl-dev krb5-dev zstd-dev nghttp2-dev zlib-dev brotli-dev python3-dev py3-pip py3-setuptools py3-wheel c-ares-dev nghttp3-dev libpsl-dev && file /bin/busybox && [[ $(getconf LONG_BIT) = "64" && -z $(file /bin/busybox | grep -i "arm") ]] && libdir="lib64" || libdir="lib" && [[ $(getconf LONG_BIT) = "32" && -z $(file /bin/busybox | grep -i "arm") ]] && configtmp="setarch i386 ./config -m32" || configtmp="./config " && wget https://curl.haxx.se/download/curl-$CURL_VERSION.tar.bz2 && tar xjvf curl-$CURL_VERSION.tar.bz2 && rm curl-$CURL_VERSION.tar.bz2 && git clone --depth 1 -b openssl-$SSL_VERSION+quic https://github.com/quictls/openssl && git clone --depth 1 https://github.com/ngtcp2/ngtcp2 && cd openssl && echo $configtmp enable-tls1_3 --prefix=/usr && $configtmp enable-tls1_3 --prefix=/usr && make -j$(($(grep -c ^processor /proc/cpuinfo) - 0)) && make install_sw && cd .. && rm -rf openssl && cd ngtcp2 && git submodule update --init && autoreconf -fi && ./configure PKG_CONFIG_PATH=/usr/$libdir/pkgconfig LDFLAGS="-Wl,-rpath,/usr/$libdir" --prefix=/usr --enable-lib-only && make -j$(($(grep -c ^processor /proc/cpuinfo) - 0)) check && make install && cd .. && rm -rf ngtcp2 && cd curl-$CURL_VERSION && autoreconf -fi && LDFLAGS="-Wl,-rpath,/usr/$libdir" ./configure --with-openssl=/usr --with-nghttp2=/usr --with-nghttp3=/usr --with-ngtcp2=/usr --prefix=/usr --enable-ipv6 --enable-unix-sockets --with-libidn2 --disable-static --disable-ldap --with-pic --with-gssapi --enable-ares && make -j$(($(grep -c ^processor /proc/cpuinfo) - 0)) && make install && cd .. && rm -rf ./curl-$CURL_VERSION && [[ -n $(find /usr/lib64 -name libssl.so.*) ]] && { ln -s /usr/lib64/libssl.so.81.3 /usr/lib/ && ln -s /usr/lib64/libcrypto.so.81.3 /usr/lib/ ;} || echo "" && pip install --no-cache-dir --compile --break-system-packages pycurl && apk del .build_deps && apk add --update --no-cache libidn2 libgsasl zlib c-ares nghttp2 nghttp3 libpsl && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit
2025-01-30 01:01:42 UTC (buildkit.dockerfile.v0)LABEL maintainer=a76yyyy <[email protected]>
2025-01-30 01:01:42 UTC (buildkit.dockerfile.v0)LABEL org.opencontainers.image.source=https://github.com/qd-today/qd
2025-01-30 01:01:42 UTC (buildkit.dockerfile.v0)ADD ssh/qd_fetch /root/.ssh/id_rsa # buildkit
2025-01-30 01:01:42 UTC (buildkit.dockerfile.v0)ADD ssh/qd_fetch.pub /root/.ssh/id_rsa.pub # buildkit
2025-01-30 01:01:42 UTC (buildkit.dockerfile.v0)WORKDIR /usr/src/app
2025-01-30 01:05:31 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c sed -i 's/mirrors.ustc.edu.cn/dl-cdn.alpinelinux.org/g' /etc/apk/repositories && sed -i 's/edge/v3.19/g' /etc/apk/repositories && sed -i '/testing/d' /etc/apk/repositories && apk update && apk add --update --no-cache openssh-client && chmod 600 /root/.ssh/id_rsa && ssh-keyscan gitee.com > /root/.ssh/known_hosts && let num=$RANDOM%100+10 && sleep $num && git clone --depth 1 [email protected]:qd-today/qd.git /gitclone_tmp && yes | cp -rf /gitclone_tmp/. /usr/src/app && rm -rf /gitclone_tmp && chmod +x /usr/src/app/update.sh && ln -s /usr/src/app/update.sh /bin/update && apk add --update --no-cache openssh-client python3 py3-six py3-markupsafe py3-pycryptodome py3-tornado py3-wrapt py3-packaging py3-greenlet py3-urllib3 py3-cryptography py3-aiosignal py3-async-timeout py3-attrs py3-frozenlist py3-multidict py3-charset-normalizer py3-aiohttp py3-typing-extensions py3-yarl py3-cffi && [[ $(getconf LONG_BIT) = "32" ]] && echo "Tips: 32-bit systems do not support ddddocr, so there is no need to install numpy and opencv-python" || apk add --update --no-cache py3-numpy-dev py3-opencv py3-pillow && apk add --no-cache --virtual .build_deps cmake make perl autoconf g++ automake py3-pip py3-setuptools py3-wheel python3-dev linux-headers libtool util-linux && sed -i '/ddddocr/d' requirements.txt && sed -i '/packaging/d' requirements.txt && sed -i '/wrapt/d' requirements.txt && sed -i '/pycryptodome/d' requirements.txt && sed -i '/tornado/d' requirements.txt && sed -i '/MarkupSafe/d' requirements.txt && sed -i '/pillow/d' requirements.txt && sed -i '/opencv/d' requirements.txt && sed -i '/numpy/d' requirements.txt && sed -i '/greenlet/d' requirements.txt && sed -i '/urllib3/d' requirements.txt && sed -i '/cryptography/d' requirements.txt && sed -i '/aiosignal/d' requirements.txt && sed -i '/async-timeout/d' requirements.txt && sed -i '/attrs/d' requirements.txt && sed -i '/frozenlist/d' requirements.txt && sed -i '/multidict/d' requirements.txt && sed -i '/charset-normalizer/d' requirements.txt && sed -i '/aiohttp/d' requirements.txt && sed -i '/typing-extensions/d' requirements.txt && sed -i '/yarl/d' requirements.txt && sed -i '/cffi/d' requirements.txt && pip install --no-cache-dir -r requirements.txt --break-system-packages && apk del .build_deps && sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit
2025-01-30 01:05:31 UTC (buildkit.dockerfile.v0)ENV PORT=80
2025-01-30 01:05:31 UTC (buildkit.dockerfile.v0)EXPOSE map[80/tcp:{}]
2025-01-30 01:05:31 UTC (buildkit.dockerfile.v0)ENV TZ=CST-8
2025-01-30 01:05:31 UTC (buildkit.dockerfile.v0)VOLUME [/usr/src/app/config]
2025-01-30 01:05:31 UTC (buildkit.dockerfile.v0)CMD ["sh" "-c" "python /usr/src/app/run.py"]