Namespace
qdtoday
Image / Tag
qd:20250128
Content Digest
sha256:fe65b2c4fb937f9378f1823cb670429df8c5056ca163bc9ce7fca4d519a7881c
Details
Created

2025-01-28 17:32:15 UTC

Size

78.3 MB

Content Digest
Labels
  • maintainer
  • org.opencontainers.image.source
    https://github.com/qd-today/qd

Environment
CURL_VERSION

8.6.0

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PORT

80

PYCURL_SSL_LIBRARY

openssl

SSL_VERSION

3.1.5

TZ

CST-8


Layers

[#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:bf883024d6b20227dbf90fae693e4f199c220a46c70983d2fe7f06a572ed77fd - 0.0% (1.99 KB)

[#004] sha256:fef0d056108b595cbcbc0db70db59869f2484b42f3f6a0248bd8a7df841ea745 - 0.0% (629 Bytes)

[#005] sha256:b8174fe822a957d6cea354061b0d9ae4e8932122b270230a641e16e077feeb4e - 0.0% (125 Bytes)

[#006] sha256:cda3b07e0562fe2c8127d9c606819af7b4d44d2a021deb6ca94e9f702f63c77a - 52.16% (40.8 MB)


History
2023-12-20 09:49:06 UTC

/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-28 17:30:19 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <[email protected]>

2025-01-28 17:30:19 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.source=https://github.com/qd-today/qd

2025-01-28 17:30:19 UTC (buildkit.dockerfile.v0)

ADD ssh/qd_fetch /root/.ssh/id_rsa # buildkit

2025-01-28 17:30:19 UTC (buildkit.dockerfile.v0)

ADD ssh/qd_fetch.pub /root/.ssh/id_rsa.pub # buildkit

2025-01-28 17:30:19 UTC (buildkit.dockerfile.v0)

WORKDIR /usr/src/app

2025-01-28 17:32:15 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-28 17:32:15 UTC (buildkit.dockerfile.v0)

ENV PORT=80

2025-01-28 17:32:15 UTC (buildkit.dockerfile.v0)

EXPOSE map[80/tcp:{}]

2025-01-28 17:32:15 UTC (buildkit.dockerfile.v0)

ENV TZ=CST-8

2025-01-28 17:32:15 UTC (buildkit.dockerfile.v0)

VOLUME [/usr/src/app/config]

2025-01-28 17:32:15 UTC (buildkit.dockerfile.v0)

CMD ["sh" "-c" "python /usr/src/app/run.py"]

Details
Created

2025-01-28 17:34:30 UTC

Size

292 MB

Content Digest
Labels
  • maintainer
  • org.opencontainers.image.source
    https://github.com/qd-today/qd

Environment
CURL_VERSION

8.6.0

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PORT

80

PYCURL_SSL_LIBRARY

openssl

SSL_VERSION

3.1.5

TZ

CST-8


Layers

[#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:c8503af387d858f490093aad10b2cb67e78a07b32129440f32c1e539af391e71 - 0.0% (1.99 KB)

[#004] sha256:70861eadfd2dbb0ac700ea2187e30697db88b53f98c5352a55e1953b451a0b1e - 0.0% (629 Bytes)

[#005] sha256:e27bcf7c0f2a97dc0ee755578fc80bfdb90cafe5ff33cebfc28201102549ab12 - 0.0% (126 Bytes)

[#006] sha256:bf599bd677807180961e173fd97f80d2f8b8eba9197f541e21e4cf07cd84e183 - 13.92% (40.7 MB)


History
2023-12-20 08:48:17 UTC

/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-28 17:30:31 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <[email protected]>

2025-01-28 17:30:31 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.source=https://github.com/qd-today/qd

2025-01-28 17:30:31 UTC (buildkit.dockerfile.v0)

ADD ssh/qd_fetch /root/.ssh/id_rsa # buildkit

2025-01-28 17:30:31 UTC (buildkit.dockerfile.v0)

ADD ssh/qd_fetch.pub /root/.ssh/id_rsa.pub # buildkit

2025-01-28 17:30:31 UTC (buildkit.dockerfile.v0)

WORKDIR /usr/src/app

2025-01-28 17:34: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-28 17:34:30 UTC (buildkit.dockerfile.v0)

ENV PORT=80

2025-01-28 17:34:30 UTC (buildkit.dockerfile.v0)

EXPOSE map[80/tcp:{}]

2025-01-28 17:34:30 UTC (buildkit.dockerfile.v0)

ENV TZ=CST-8

2025-01-28 17:34:30 UTC (buildkit.dockerfile.v0)

VOLUME [/usr/src/app/config]

2025-01-28 17:34:30 UTC (buildkit.dockerfile.v0)

CMD ["sh" "-c" "python /usr/src/app/run.py"]

Details
Created

2025-01-28 17:34:55 UTC

Size

77.5 MB

Content Digest
Labels
  • maintainer
  • org.opencontainers.image.source
    https://github.com/qd-today/qd

Environment
CURL_VERSION

8.6.0

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PORT

80

PYCURL_SSL_LIBRARY

openssl

SSL_VERSION

3.1.5

TZ

CST-8


Layers

[#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:17d2d92f3e2089db8a301dc1d9e1b5a835d9448257eb6af34c248e48b15f6196 - 0.0% (1.99 KB)

[#004] sha256:172bbe7dcb34994439d2d4f31ba0021b2f6f5b110ed6c0db05570bc62ba8e3f9 - 0.0% (626 Bytes)

[#005] sha256:b8174fe822a957d6cea354061b0d9ae4e8932122b270230a641e16e077feeb4e - 0.0% (125 Bytes)

[#006] sha256:4fd85dbf336c6ba5b9e957a2048cce2955d6c56225e169d5bd6ef5ad3b511a78 - 54.29% (42.1 MB)


History
2023-12-20 00:49:17 UTC

/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-28 17:30:19 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <[email protected]>

2025-01-28 17:30:19 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.source=https://github.com/qd-today/qd

2025-01-28 17:30:19 UTC (buildkit.dockerfile.v0)

ADD ssh/qd_fetch /root/.ssh/id_rsa # buildkit

2025-01-28 17:30:19 UTC (buildkit.dockerfile.v0)

ADD ssh/qd_fetch.pub /root/.ssh/id_rsa.pub # buildkit

2025-01-28 17:30:19 UTC (buildkit.dockerfile.v0)

WORKDIR /usr/src/app

2025-01-28 17:34:55 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-28 17:34:55 UTC (buildkit.dockerfile.v0)

ENV PORT=80

2025-01-28 17:34:55 UTC (buildkit.dockerfile.v0)

EXPOSE map[80/tcp:{}]

2025-01-28 17:34:55 UTC (buildkit.dockerfile.v0)

ENV TZ=CST-8

2025-01-28 17:34:55 UTC (buildkit.dockerfile.v0)

VOLUME [/usr/src/app/config]

2025-01-28 17:34:55 UTC (buildkit.dockerfile.v0)

CMD ["sh" "-c" "python /usr/src/app/run.py"]

Details
Created

2025-01-28 17:35:33 UTC

Size

260 MB

Content Digest
Labels
  • maintainer
  • org.opencontainers.image.source
    https://github.com/qd-today/qd

Environment
CURL_VERSION

8.6.0

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PORT

80

PYCURL_SSL_LIBRARY

openssl

SSL_VERSION

3.1.5

TZ

CST-8


Layers

[#000] sha256:98d5775436f5c317aee41510cbf2398c4cf0a2ed38948a477c2987e45f63b3c0 - 1.07% (2.78 MB)

[#001] sha256:400e96ebcecb7c9e11012079a3433bc0b4c26d0453c987a8618cd18a6f8e06af - 79.57% (207 MB)

[#002] sha256:108d4b96831602d6b2f80391fd9ad09b10c3e2a4ddbf9df1feeef4a0e7cd738c - 3.58% (9.32 MB)

[#003] sha256:51ac4b972e1d95a3599a1c17d299df07e4f5da7305c0ee1624925500a6ba3c21 - 0.0% (1.99 KB)

[#004] sha256:f723310b80af3167f70ac1bd6080467b2e201f5c3174c26bbcd776a27ffad23a - 0.0% (632 Bytes)

[#005] sha256:e27bcf7c0f2a97dc0ee755578fc80bfdb90cafe5ff33cebfc28201102549ab12 - 0.0% (126 Bytes)

[#006] sha256:0a8178b158979e65521ce5a4260515a5e4d5f6066f357fd1f8c4648efc63539d - 15.78% (41.1 MB)


History
2023-12-20 01:13:41 UTC

/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-28 17:30:31 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <[email protected]>

2025-01-28 17:30:31 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.source=https://github.com/qd-today/qd

2025-01-28 17:30:31 UTC (buildkit.dockerfile.v0)

ADD ssh/qd_fetch /root/.ssh/id_rsa # buildkit

2025-01-28 17:30:31 UTC (buildkit.dockerfile.v0)

ADD ssh/qd_fetch.pub /root/.ssh/id_rsa.pub # buildkit

2025-01-28 17:30:31 UTC (buildkit.dockerfile.v0)

WORKDIR /usr/src/app

2025-01-28 17:35:33 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-28 17:35:33 UTC (buildkit.dockerfile.v0)

ENV PORT=80

2025-01-28 17:35:33 UTC (buildkit.dockerfile.v0)

EXPOSE map[80/tcp:{}]

2025-01-28 17:35:33 UTC (buildkit.dockerfile.v0)

ENV TZ=CST-8

2025-01-28 17:35:33 UTC (buildkit.dockerfile.v0)

VOLUME [/usr/src/app/config]

2025-01-28 17:35:33 UTC (buildkit.dockerfile.v0)

CMD ["sh" "-c" "python /usr/src/app/run.py"]

Details
Created

2025-01-28 17:35:27 UTC

Size

281 MB

Content Digest
Labels
  • maintainer
  • org.opencontainers.image.source
    https://github.com/qd-today/qd

Environment
CURL_VERSION

8.6.0

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PORT

80

PYCURL_SSL_LIBRARY

openssl

SSL_VERSION

3.1.5

TZ

CST-8


Layers

[#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:6125041961f46903c6962c21a3971f83531d0cc70992915f9fec66da2c379163 - 0.0% (1.99 KB)

[#004] sha256:53539d53cd45c0f38293c2d757f1d8aee9f23d077dd1da5011fab7c9359630cc - 0.0% (632 Bytes)

[#005] sha256:e27bcf7c0f2a97dc0ee755578fc80bfdb90cafe5ff33cebfc28201102549ab12 - 0.0% (126 Bytes)

[#006] sha256:c9b8d4a7f7b131db2bb6410e741a41fc04bc03806b988bc1d8a2fbc9b3dcef31 - 14.57% (40.9 MB)


History
2023-12-20 01:18:50 UTC

/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-28 17:30:31 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <[email protected]>

2025-01-28 17:30:31 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.source=https://github.com/qd-today/qd

2025-01-28 17:30:31 UTC (buildkit.dockerfile.v0)

ADD ssh/qd_fetch /root/.ssh/id_rsa # buildkit

2025-01-28 17:30:31 UTC (buildkit.dockerfile.v0)

ADD ssh/qd_fetch.pub /root/.ssh/id_rsa.pub # buildkit

2025-01-28 17:30:31 UTC (buildkit.dockerfile.v0)

WORKDIR /usr/src/app

2025-01-28 17:35:27 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-28 17:35:27 UTC (buildkit.dockerfile.v0)

ENV PORT=80

2025-01-28 17:35:27 UTC (buildkit.dockerfile.v0)

EXPOSE map[80/tcp:{}]

2025-01-28 17:35:27 UTC (buildkit.dockerfile.v0)

ENV TZ=CST-8

2025-01-28 17:35:27 UTC (buildkit.dockerfile.v0)

VOLUME [/usr/src/app/config]

2025-01-28 17:35:27 UTC (buildkit.dockerfile.v0)

CMD ["sh" "-c" "python /usr/src/app/run.py"]