Namespace
qdtoday
Image / Tag
qd:20230601
Content Digest
sha256:7a6a1fb044db5ad088a683b61c2df8c9edc6cb9a202cbd08e492a8f30ab2dabb
Details
Created

2023-06-01 06:49:43 UTC

Size

83.5 MB

Content Digest
Labels
  • maintainer
    a76yyyy <q981331502@163.com>
  • org.opencontainers.image.source
    https://github.com/qd-today/qd

Environment
CURL_VERSION

7.86.0

DDDDOCR_VERSION

master

ONNXRUNTIME_TAG

v1.13.1

PATH

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

PORT

80

PYCURL_SSL_LIBRARY

openssl

SSL_VERSION

3.0.7

TZ

CST-8


Layers

[#000] sha256:53875a713ff14c3b89284e31b43afe171ba043aa5c81393b446a8356177467a0 - 3.89% (3.25 MB)

[#001] sha256:3e6bfdfb9b23bb6e2faa389c9c64718e0e5e546a552ef0683a2d519a14d29da0 - 32.55% (27.2 MB)

[#002] sha256:31d50c663b29f06c0d83d63be9e548418e22f31864859b940383bb26ab31f7b5 - 15.19% (12.7 MB)

[#003] sha256:2e559444d2d65bf7da8481f7e0de1f1eb1415e8285251f8441c8f34251b1bfd7 - 0.0% (1.99 KB)

[#004] sha256:17bf00bda3436688a12a7ca2acf774f24fd5467cfda781106cb92003a3b8494e - 0.0% (633 Bytes)

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

[#006] sha256:fcaa9be4f3eaeb8310805f21edf86ff295050cf66597ad11dd3c86c90a1e8905 - 48.36% (40.4 MB)


History
2022-11-10 20:38:32 UTC

/bin/sh -c #(nop) ADD file:d87251a8a46cb3eb62f9fc8f8298f300c52dea8064e974b23dbc5382b4118a4b in /

2022-11-10 20:38:33 UTC

/bin/sh -c #(nop) CMD ["/bin/sh"]

2022-12-14 15:32:15 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <q981331502@163.com>

2022-12-14 15:32:15 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.source=https://github.com/qiandao-today/ddddocr-docker

2022-12-14 15:32:15 UTC (buildkit.dockerfile.v0)

ENV ONNXRUNTIME_TAG=v1.13.1

2022-12-14 15:32:15 UTC (buildkit.dockerfile.v0)

ENV DDDDOCR_VERSION=master

2022-12-14 15:32:15 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && echo 'http://mirrors.ustc.edu.cn/alpine/v3.16/main' >> /etc/apk/repositories && echo 'http://mirrors.ustc.edu.cn/alpine/v3.16/community' >> /etc/apk/repositories && apk update && apk add --update --no-cache bash git tzdata ca-certificates file python3 py3-six && [[ $(getconf LONG_BIT) = "32" ]] && { bashtmp='' && cxxtmp=''; } || { [[ -z $(file /bin/busybox | grep -i "arm") ]] && { bashtmp='/onnxruntime/build.sh' && cxxtmp=''; } || { bashtmp='setarch arm64 /onnxruntime/build.sh' && cxxtmp='-Wno-psabi'; }; } && echo $bashtmp && echo $cxxtmp && { [[ -n "$bashtmp" ]] && { apk add --update --no-cache py3-opencv py3-pillow && { apk add --update --no-cache --virtual .build_deps nano openssh-client cmake make perl autoconf g++=11.2.1_git20220219-r2 libexecinfo-dev=1.1-r1 automake linux-headers libtool util-linux openblas-dev python3-dev protobuf-dev date-dev gtest-dev eigen-dev flatbuffers-dev=2.0.0-r1 patch boost-dev nlohmann-json py3-pybind11-dev py3-pip py3-setuptools py3-wheel py3-numpy-dev || apk add --update --no-cache --virtual .build_deps nano openssh-client cmake make perl autoconf g++=11.2.1_git20220219-r2 libexecinfo-dev=1.1-r1 automake linux-headers libtool util-linux openblas-dev python3-dev protobuf-dev date-dev gtest-dev eigen-dev patch boost-dev nlohmann-json py3-pybind11-dev py3-pip py3-setuptools py3-wheel py3-numpy-dev ;} && git clone --depth 1 --branch $ONNXRUNTIME_TAG https://github.com/Microsoft/onnxruntime && cd /onnxruntime && git submodule update --init --recursive && cd .. && $bashtmp --config MinSizeRel --parallel --build_wheel --enable_pybind --cmake_extra_defines CMAKE_CXX_FLAGS="-Wno-deprecated-copy -Wno-unused-variable -Wno-unused-parameter $cxxtmp" onnxruntime_BUILD_UNIT_TESTS=OFF onnxruntime_BUILD_SHARED_LIB=OFF onnxruntime_USE_PREINSTALLED_EIGEN=ON onnxruntime_PREFER_SYSTEM_LIB=ON eigen_SOURCE_PATH=/usr/include/eigen3 --skip_tests && apk add --update --no-cache libprotobuf-lite && pip install --no-cache-dir /onnxruntime/build/Linux/MinSizeRel/dist/onnxruntime*.whl && ln -s $(python -c 'import warnings;warnings.filterwarnings("ignore"); from distutils.sysconfig import get_python_lib;print(get_python_lib())')/onnxruntime/capi/libonnxruntime_providers_shared.so /usr/lib && cd / && rm -rf /onnxruntime && 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 && python setup.py install && 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 arm32 wheels";} ;} && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit

2022-12-24 16:19:22 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <q981331502@163.com>

2022-12-24 16:19:22 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.source=https://github.com/qiandao-today/pycurl-docker

2022-12-24 16:19:22 UTC (buildkit.dockerfile.v0)

ENV PYCURL_SSL_LIBRARY=openssl

2022-12-24 16:19:22 UTC (buildkit.dockerfile.v0)

ENV SSL_VERSION=3.0.7

2022-12-24 16:19:22 UTC (buildkit.dockerfile.v0)

ENV CURL_VERSION=7.86.0

2022-12-24 16:19:22 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 && 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/nghttp3 && 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 nghttp3 && autoreconf -fi && ./configure --prefix=/usr --enable-lib-only && make -j$(($(grep -c ^processor /proc/cpuinfo) - 0)) check && make install && cd .. && rm -rf nghttp3 && cd ngtcp2 && 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 pycurl && apk del .build_deps && apk add --update --no-cache libidn2 libgsasl zlib c-ares && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit

2023-06-01 06:46:09 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <q981331502@163.com>

2023-06-01 06:46:09 UTC (buildkit.dockerfile.v0)

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

2023-06-01 06:46:09 UTC (buildkit.dockerfile.v0)

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

2023-06-01 06:46:09 UTC (buildkit.dockerfile.v0)

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

2023-06-01 06:46:09 UTC (buildkit.dockerfile.v0)

WORKDIR /usr/src/app

2023-06-01 06:49:43 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c sed -i 's/mirrors.ustc.edu.cn/dl-cdn.alpinelinux.org/g' /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 git@gitee.com:a76yyyy/qiandao.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 && [[ $(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 && pip install --no-cache-dir -r requirements.txt && 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

2023-06-01 06:49:43 UTC (buildkit.dockerfile.v0)

ENV PORT=80

2023-06-01 06:49:43 UTC (buildkit.dockerfile.v0)

EXPOSE map[80/tcp:{}]

2023-06-01 06:49:43 UTC (buildkit.dockerfile.v0)

ENV TZ=CST-8

2023-06-01 06:49:43 UTC (buildkit.dockerfile.v0)

VOLUME [/usr/src/app/config]

2023-06-01 06:49:43 UTC (buildkit.dockerfile.v0)

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

Details
Created

2023-06-01 06:48:30 UTC

Size

311 MB

Content Digest
Labels
  • maintainer
    a76yyyy <q981331502@163.com>
  • org.opencontainers.image.source
    https://github.com/qd-today/qd

Environment
CURL_VERSION

7.86.0

DDDDOCR_VERSION

master

ONNXRUNTIME_TAG

v1.13.1

PATH

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

PORT

80

PYCURL_SSL_LIBRARY

openssl

SSL_VERSION

3.0.7

TZ

CST-8


Layers

[#000] sha256:a71ff8a5264a4f5af191d4e972fba88ee793627dc6652810172dc02b5d3e7273 - 1.03% (3.21 MB)

[#001] sha256:6f0c0f2f4d6e2fb7e35e095e290392e72ac756e304d1932d52a163dca054e96d - 79.02% (246 MB)

[#002] sha256:dfac66dcfd8beacf3872c6fdfa9aa378df67f686840ec2efe4fcc198c87380c1 - 3.74% (11.6 MB)

[#003] sha256:82d0a0a247bda4bf68a359c56e9783e7b7cbc2970ddb9161e1b29e2d9185f457 - 0.0% (1.99 KB)

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

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

[#006] sha256:01a07aaf2f2c1d04d8695f1a3072924c85764338236a0d328eaa4cefcfc82c02 - 16.21% (50.4 MB)


History
2022-11-10 20:19:28 UTC

/bin/sh -c #(nop) ADD file:51c4407dc777648e8ebc8e124b05feb1807699ade513b6006a9a409f6b0f6f51 in /

2022-11-10 20:19:29 UTC

/bin/sh -c #(nop) CMD ["/bin/sh"]

2022-12-14 16:25:04 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <q981331502@163.com>

2022-12-14 16:25:04 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.source=https://github.com/qiandao-today/ddddocr-docker

2022-12-14 16:25:04 UTC (buildkit.dockerfile.v0)

ENV ONNXRUNTIME_TAG=v1.13.1

2022-12-14 16:25:04 UTC (buildkit.dockerfile.v0)

ENV DDDDOCR_VERSION=master

2022-12-14 16:25:04 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && echo 'http://mirrors.ustc.edu.cn/alpine/v3.16/main' >> /etc/apk/repositories && echo 'http://mirrors.ustc.edu.cn/alpine/v3.16/community' >> /etc/apk/repositories && apk update && apk add --update --no-cache bash git tzdata ca-certificates file python3 py3-six && [[ $(getconf LONG_BIT) = "32" ]] && { bashtmp='' && cxxtmp=''; } || { [[ -z $(file /bin/busybox | grep -i "arm") ]] && { bashtmp='/onnxruntime/build.sh' && cxxtmp=''; } || { bashtmp='setarch arm64 /onnxruntime/build.sh' && cxxtmp='-Wno-psabi'; }; } && echo $bashtmp && echo $cxxtmp && { [[ -n "$bashtmp" ]] && { apk add --update --no-cache py3-opencv py3-pillow && { apk add --update --no-cache --virtual .build_deps nano openssh-client cmake make perl autoconf g++=11.2.1_git20220219-r2 libexecinfo-dev=1.1-r1 automake linux-headers libtool util-linux openblas-dev python3-dev protobuf-dev date-dev gtest-dev eigen-dev flatbuffers-dev=2.0.0-r1 patch boost-dev nlohmann-json py3-pybind11-dev py3-pip py3-setuptools py3-wheel py3-numpy-dev || apk add --update --no-cache --virtual .build_deps nano openssh-client cmake make perl autoconf g++=11.2.1_git20220219-r2 libexecinfo-dev=1.1-r1 automake linux-headers libtool util-linux openblas-dev python3-dev protobuf-dev date-dev gtest-dev eigen-dev patch boost-dev nlohmann-json py3-pybind11-dev py3-pip py3-setuptools py3-wheel py3-numpy-dev ;} && git clone --depth 1 --branch $ONNXRUNTIME_TAG https://github.com/Microsoft/onnxruntime && cd /onnxruntime && git submodule update --init --recursive && cd .. && $bashtmp --config MinSizeRel --parallel --build_wheel --enable_pybind --cmake_extra_defines CMAKE_CXX_FLAGS="-Wno-deprecated-copy -Wno-unused-variable -Wno-unused-parameter $cxxtmp" onnxruntime_BUILD_UNIT_TESTS=OFF onnxruntime_BUILD_SHARED_LIB=OFF onnxruntime_USE_PREINSTALLED_EIGEN=ON onnxruntime_PREFER_SYSTEM_LIB=ON eigen_SOURCE_PATH=/usr/include/eigen3 --skip_tests && apk add --update --no-cache libprotobuf-lite && pip install --no-cache-dir /onnxruntime/build/Linux/MinSizeRel/dist/onnxruntime*.whl && ln -s $(python -c 'import warnings;warnings.filterwarnings("ignore"); from distutils.sysconfig import get_python_lib;print(get_python_lib())')/onnxruntime/capi/libonnxruntime_providers_shared.so /usr/lib && cd / && rm -rf /onnxruntime && 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 && python setup.py install && 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 arm32 wheels";} ;} && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit

2022-12-24 16:18:44 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <q981331502@163.com>

2022-12-24 16:18:44 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.source=https://github.com/qiandao-today/pycurl-docker

2022-12-24 16:18:44 UTC (buildkit.dockerfile.v0)

ENV PYCURL_SSL_LIBRARY=openssl

2022-12-24 16:18:44 UTC (buildkit.dockerfile.v0)

ENV SSL_VERSION=3.0.7

2022-12-24 16:18:44 UTC (buildkit.dockerfile.v0)

ENV CURL_VERSION=7.86.0

2022-12-24 16:18:44 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 && 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/nghttp3 && 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 nghttp3 && autoreconf -fi && ./configure --prefix=/usr --enable-lib-only && make -j$(($(grep -c ^processor /proc/cpuinfo) - 0)) check && make install && cd .. && rm -rf nghttp3 && cd ngtcp2 && 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 pycurl && apk del .build_deps && apk add --update --no-cache libidn2 libgsasl zlib c-ares && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit

2023-06-01 06:46:19 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <q981331502@163.com>

2023-06-01 06:46:19 UTC (buildkit.dockerfile.v0)

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

2023-06-01 06:46:19 UTC (buildkit.dockerfile.v0)

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

2023-06-01 06:46:19 UTC (buildkit.dockerfile.v0)

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

2023-06-01 06:46:19 UTC (buildkit.dockerfile.v0)

WORKDIR /usr/src/app

2023-06-01 06:48:30 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c sed -i 's/mirrors.ustc.edu.cn/dl-cdn.alpinelinux.org/g' /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 git@gitee.com:a76yyyy/qiandao.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 && [[ $(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 && pip install --no-cache-dir -r requirements.txt && 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

2023-06-01 06:48:30 UTC (buildkit.dockerfile.v0)

ENV PORT=80

2023-06-01 06:48:30 UTC (buildkit.dockerfile.v0)

EXPOSE map[80/tcp:{}]

2023-06-01 06:48:30 UTC (buildkit.dockerfile.v0)

ENV TZ=CST-8

2023-06-01 06:48:30 UTC (buildkit.dockerfile.v0)

VOLUME [/usr/src/app/config]

2023-06-01 06:48:30 UTC (buildkit.dockerfile.v0)

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

Details
Created

2023-06-01 06:52:36 UTC

Size

80.3 MB

Content Digest
Labels
  • maintainer
    a76yyyy <q981331502@163.com>
  • org.opencontainers.image.source
    https://github.com/qd-today/qd

Environment
CURL_VERSION

7.86.0

DDDDOCR_VERSION

master

ONNXRUNTIME_TAG

v1.13.1

PATH

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

PORT

80

PYCURL_SSL_LIBRARY

openssl

SSL_VERSION

3.0.7

TZ

CST-8


Layers

[#000] sha256:d53aea6592a3f6648a31d7051dddc95afdc3502e41b061450ecc016496dfada4 - 3.69% (2.96 MB)

[#001] sha256:63ce74d5d5017e82980e30c3703f1a395dd7a0a6ad8138dbe60b9c1b98ec602e - 32.45% (26.1 MB)

[#002] sha256:57cdc6901e7e376b37336e68ff6ecd0491f4c3516e409a0de527424f9b7a36a7 - 14.22% (11.4 MB)

[#003] sha256:801b1a829f7bb49cc11c04d7670add5b01b3b459f46cdfd87222f8bd30ea9fa6 - 0.0% (1.99 KB)

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

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

[#006] sha256:28ec3d54ba12135c97302740ac79d70f30a6ceb07da8e0e0d1435785b1469d50 - 49.63% (39.9 MB)


History
2022-11-10 20:49:20 UTC

/bin/sh -c #(nop) ADD file:f6755def1a186eeef059a1690d117ae5732b1a54504e4fe186b8ecf5ccf63ff2 in /

2022-11-10 20:49:21 UTC

/bin/sh -c #(nop) CMD ["/bin/sh"]

2022-12-14 15:32:23 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <q981331502@163.com>

2022-12-14 15:32:23 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.source=https://github.com/qiandao-today/ddddocr-docker

2022-12-14 15:32:23 UTC (buildkit.dockerfile.v0)

ENV ONNXRUNTIME_TAG=v1.13.1

2022-12-14 15:32:23 UTC (buildkit.dockerfile.v0)

ENV DDDDOCR_VERSION=master

2022-12-14 15:32:23 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && echo 'http://mirrors.ustc.edu.cn/alpine/v3.16/main' >> /etc/apk/repositories && echo 'http://mirrors.ustc.edu.cn/alpine/v3.16/community' >> /etc/apk/repositories && apk update && apk add --update --no-cache bash git tzdata ca-certificates file python3 py3-six && [[ $(getconf LONG_BIT) = "32" ]] && { bashtmp='' && cxxtmp=''; } || { [[ -z $(file /bin/busybox | grep -i "arm") ]] && { bashtmp='/onnxruntime/build.sh' && cxxtmp=''; } || { bashtmp='setarch arm64 /onnxruntime/build.sh' && cxxtmp='-Wno-psabi'; }; } && echo $bashtmp && echo $cxxtmp && { [[ -n "$bashtmp" ]] && { apk add --update --no-cache py3-opencv py3-pillow && { apk add --update --no-cache --virtual .build_deps nano openssh-client cmake make perl autoconf g++=11.2.1_git20220219-r2 libexecinfo-dev=1.1-r1 automake linux-headers libtool util-linux openblas-dev python3-dev protobuf-dev date-dev gtest-dev eigen-dev flatbuffers-dev=2.0.0-r1 patch boost-dev nlohmann-json py3-pybind11-dev py3-pip py3-setuptools py3-wheel py3-numpy-dev || apk add --update --no-cache --virtual .build_deps nano openssh-client cmake make perl autoconf g++=11.2.1_git20220219-r2 libexecinfo-dev=1.1-r1 automake linux-headers libtool util-linux openblas-dev python3-dev protobuf-dev date-dev gtest-dev eigen-dev patch boost-dev nlohmann-json py3-pybind11-dev py3-pip py3-setuptools py3-wheel py3-numpy-dev ;} && git clone --depth 1 --branch $ONNXRUNTIME_TAG https://github.com/Microsoft/onnxruntime && cd /onnxruntime && git submodule update --init --recursive && cd .. && $bashtmp --config MinSizeRel --parallel --build_wheel --enable_pybind --cmake_extra_defines CMAKE_CXX_FLAGS="-Wno-deprecated-copy -Wno-unused-variable -Wno-unused-parameter $cxxtmp" onnxruntime_BUILD_UNIT_TESTS=OFF onnxruntime_BUILD_SHARED_LIB=OFF onnxruntime_USE_PREINSTALLED_EIGEN=ON onnxruntime_PREFER_SYSTEM_LIB=ON eigen_SOURCE_PATH=/usr/include/eigen3 --skip_tests && apk add --update --no-cache libprotobuf-lite && pip install --no-cache-dir /onnxruntime/build/Linux/MinSizeRel/dist/onnxruntime*.whl && ln -s $(python -c 'import warnings;warnings.filterwarnings("ignore"); from distutils.sysconfig import get_python_lib;print(get_python_lib())')/onnxruntime/capi/libonnxruntime_providers_shared.so /usr/lib && cd / && rm -rf /onnxruntime && 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 && python setup.py install && 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 arm32 wheels";} ;} && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit

2022-12-24 20:43:19 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <q981331502@163.com>

2022-12-24 20:43:19 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.source=https://github.com/qiandao-today/pycurl-docker

2022-12-24 20:43:19 UTC (buildkit.dockerfile.v0)

ENV PYCURL_SSL_LIBRARY=openssl

2022-12-24 20:43:19 UTC (buildkit.dockerfile.v0)

ENV SSL_VERSION=3.0.7

2022-12-24 20:43:19 UTC (buildkit.dockerfile.v0)

ENV CURL_VERSION=7.86.0

2022-12-24 20:43:19 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 && 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/nghttp3 && 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 nghttp3 && autoreconf -fi && ./configure --prefix=/usr --enable-lib-only && make -j$(($(grep -c ^processor /proc/cpuinfo) - 0)) check && make install && cd .. && rm -rf nghttp3 && cd ngtcp2 && 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 pycurl && apk del .build_deps && apk add --update --no-cache libidn2 libgsasl zlib c-ares && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit

2023-06-01 06:46:09 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <q981331502@163.com>

2023-06-01 06:46:09 UTC (buildkit.dockerfile.v0)

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

2023-06-01 06:46:09 UTC (buildkit.dockerfile.v0)

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

2023-06-01 06:46:09 UTC (buildkit.dockerfile.v0)

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

2023-06-01 06:46:09 UTC (buildkit.dockerfile.v0)

WORKDIR /usr/src/app

2023-06-01 06:52:36 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c sed -i 's/mirrors.ustc.edu.cn/dl-cdn.alpinelinux.org/g' /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 git@gitee.com:a76yyyy/qiandao.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 && [[ $(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 && pip install --no-cache-dir -r requirements.txt && 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

2023-06-01 06:52:36 UTC (buildkit.dockerfile.v0)

ENV PORT=80

2023-06-01 06:52:36 UTC (buildkit.dockerfile.v0)

EXPOSE map[80/tcp:{}]

2023-06-01 06:52:36 UTC (buildkit.dockerfile.v0)

ENV TZ=CST-8

2023-06-01 06:52:36 UTC (buildkit.dockerfile.v0)

VOLUME [/usr/src/app/config]

2023-06-01 06:52:36 UTC (buildkit.dockerfile.v0)

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

Details
Created

2023-06-01 06:51:41 UTC

Size

78 MB

Content Digest
Labels
  • maintainer
    a76yyyy <q981331502@163.com>
  • org.opencontainers.image.source
    https://github.com/qd-today/qd

Environment
CURL_VERSION

7.86.0

DDDDOCR_VERSION

master

ONNXRUNTIME_TAG

v1.13.1

PATH

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

PORT

80

PYCURL_SSL_LIBRARY

openssl

SSL_VERSION

3.0.7

TZ

CST-8


Layers

[#000] sha256:810dd31423a9c6d0cf1afdb5e2d49569a7b57e8cc22f7061198b0acedab346ca - 3.5% (2.73 MB)

[#001] sha256:a23cfe1b4fe6e7768dd8260d5bb53a01b7ab6257f6d0e49af28aa67efa83aa4a - 32.37% (25.3 MB)

[#002] sha256:abb63ee2cbd4519882a80ffea08173ff5297e14810dc142136ae79bb24ed300d - 13.95% (10.9 MB)

[#003] sha256:801b1a829f7bb49cc11c04d7670add5b01b3b459f46cdfd87222f8bd30ea9fa6 - 0.0% (1.99 KB)

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

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

[#006] sha256:2013c69d422b71b69a960e8998904fd5f506b0606c7bceeb8ae0667b21ca9cb9 - 50.17% (39.2 MB)


History
2022-11-10 19:57:22 UTC

/bin/sh -c #(nop) ADD file:eb72bb8afda085f5e36b9f439e4a84dbd23c6b921f15f7ffb3c4e767b3b703bf in /

2022-11-10 19:57:22 UTC

/bin/sh -c #(nop) CMD ["/bin/sh"]

2022-12-14 15:32:28 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <q981331502@163.com>

2022-12-14 15:32:28 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.source=https://github.com/qiandao-today/ddddocr-docker

2022-12-14 15:32:28 UTC (buildkit.dockerfile.v0)

ENV ONNXRUNTIME_TAG=v1.13.1

2022-12-14 15:32:28 UTC (buildkit.dockerfile.v0)

ENV DDDDOCR_VERSION=master

2022-12-14 15:32:28 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && echo 'http://mirrors.ustc.edu.cn/alpine/v3.16/main' >> /etc/apk/repositories && echo 'http://mirrors.ustc.edu.cn/alpine/v3.16/community' >> /etc/apk/repositories && apk update && apk add --update --no-cache bash git tzdata ca-certificates file python3 py3-six && [[ $(getconf LONG_BIT) = "32" ]] && { bashtmp='' && cxxtmp=''; } || { [[ -z $(file /bin/busybox | grep -i "arm") ]] && { bashtmp='/onnxruntime/build.sh' && cxxtmp=''; } || { bashtmp='setarch arm64 /onnxruntime/build.sh' && cxxtmp='-Wno-psabi'; }; } && echo $bashtmp && echo $cxxtmp && { [[ -n "$bashtmp" ]] && { apk add --update --no-cache py3-opencv py3-pillow && { apk add --update --no-cache --virtual .build_deps nano openssh-client cmake make perl autoconf g++=11.2.1_git20220219-r2 libexecinfo-dev=1.1-r1 automake linux-headers libtool util-linux openblas-dev python3-dev protobuf-dev date-dev gtest-dev eigen-dev flatbuffers-dev=2.0.0-r1 patch boost-dev nlohmann-json py3-pybind11-dev py3-pip py3-setuptools py3-wheel py3-numpy-dev || apk add --update --no-cache --virtual .build_deps nano openssh-client cmake make perl autoconf g++=11.2.1_git20220219-r2 libexecinfo-dev=1.1-r1 automake linux-headers libtool util-linux openblas-dev python3-dev protobuf-dev date-dev gtest-dev eigen-dev patch boost-dev nlohmann-json py3-pybind11-dev py3-pip py3-setuptools py3-wheel py3-numpy-dev ;} && git clone --depth 1 --branch $ONNXRUNTIME_TAG https://github.com/Microsoft/onnxruntime && cd /onnxruntime && git submodule update --init --recursive && cd .. && $bashtmp --config MinSizeRel --parallel --build_wheel --enable_pybind --cmake_extra_defines CMAKE_CXX_FLAGS="-Wno-deprecated-copy -Wno-unused-variable -Wno-unused-parameter $cxxtmp" onnxruntime_BUILD_UNIT_TESTS=OFF onnxruntime_BUILD_SHARED_LIB=OFF onnxruntime_USE_PREINSTALLED_EIGEN=ON onnxruntime_PREFER_SYSTEM_LIB=ON eigen_SOURCE_PATH=/usr/include/eigen3 --skip_tests && apk add --update --no-cache libprotobuf-lite && pip install --no-cache-dir /onnxruntime/build/Linux/MinSizeRel/dist/onnxruntime*.whl && ln -s $(python -c 'import warnings;warnings.filterwarnings("ignore"); from distutils.sysconfig import get_python_lib;print(get_python_lib())')/onnxruntime/capi/libonnxruntime_providers_shared.so /usr/lib && cd / && rm -rf /onnxruntime && 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 && python setup.py install && 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 arm32 wheels";} ;} && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit

2022-12-24 20:49:15 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <q981331502@163.com>

2022-12-24 20:49:15 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.source=https://github.com/qiandao-today/pycurl-docker

2022-12-24 20:49:15 UTC (buildkit.dockerfile.v0)

ENV PYCURL_SSL_LIBRARY=openssl

2022-12-24 20:49:15 UTC (buildkit.dockerfile.v0)

ENV SSL_VERSION=3.0.7

2022-12-24 20:49:15 UTC (buildkit.dockerfile.v0)

ENV CURL_VERSION=7.86.0

2022-12-24 20:49:15 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 && 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/nghttp3 && 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 nghttp3 && autoreconf -fi && ./configure --prefix=/usr --enable-lib-only && make -j$(($(grep -c ^processor /proc/cpuinfo) - 0)) check && make install && cd .. && rm -rf nghttp3 && cd ngtcp2 && 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 pycurl && apk del .build_deps && apk add --update --no-cache libidn2 libgsasl zlib c-ares && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit

2023-06-01 06:46:09 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <q981331502@163.com>

2023-06-01 06:46:09 UTC (buildkit.dockerfile.v0)

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

2023-06-01 06:46:09 UTC (buildkit.dockerfile.v0)

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

2023-06-01 06:46:09 UTC (buildkit.dockerfile.v0)

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

2023-06-01 06:46:09 UTC (buildkit.dockerfile.v0)

WORKDIR /usr/src/app

2023-06-01 06:51:41 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c sed -i 's/mirrors.ustc.edu.cn/dl-cdn.alpinelinux.org/g' /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 git@gitee.com:a76yyyy/qiandao.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 && [[ $(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 && pip install --no-cache-dir -r requirements.txt && 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

2023-06-01 06:51:41 UTC (buildkit.dockerfile.v0)

ENV PORT=80

2023-06-01 06:51:41 UTC (buildkit.dockerfile.v0)

EXPOSE map[80/tcp:{}]

2023-06-01 06:51:41 UTC (buildkit.dockerfile.v0)

ENV TZ=CST-8

2023-06-01 06:51:41 UTC (buildkit.dockerfile.v0)

VOLUME [/usr/src/app/config]

2023-06-01 06:51:41 UTC (buildkit.dockerfile.v0)

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

Details
Created

2023-06-01 06:52:06 UTC

Size

297 MB

Content Digest
Labels
  • maintainer
    a76yyyy <q981331502@163.com>
  • org.opencontainers.image.source
    https://github.com/qd-today/qd

Environment
CURL_VERSION

7.86.0

DDDDOCR_VERSION

master

ONNXRUNTIME_TAG

v1.13.1

PATH

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

PORT

80

PYCURL_SSL_LIBRARY

openssl

SSL_VERSION

3.0.7

TZ

CST-8


Layers

[#000] sha256:b1101342f8ad0db5a405801c0e1b426345830a8f54d4fab3446e7edeeb6d7d65 - 1.05% (3.11 MB)

[#001] sha256:3f9ddb4384b527b6ef4851e64e962a21f211204946a5f758d51d4506186a31d9 - 78.46% (233 MB)

[#002] sha256:168892582b18ea24e20d3295a7a80975a56cb30a7aa63afdd8fcf332dd7bc68e - 3.84% (11.4 MB)

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

[#004] sha256:9929b3c835a426f362cda1112ce74202cc071bf277364d3f7ad110552d3eece6 - 0.0% (631 Bytes)

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

[#006] sha256:cf2a197f8359f1ab2448feaff8133fb7efa49cf5d75bf783e97c2a952d22bc5f - 16.65% (49.5 MB)


History
2022-11-10 20:39:35 UTC

/bin/sh -c #(nop) ADD file:edb23a0d9b2d09d24b7153f3bb7021b584b69abe1d8b068983ec1cdf12b7e1b5 in /

2022-11-10 20:39:35 UTC

/bin/sh -c #(nop) CMD ["/bin/sh"]

2022-12-14 20:26:31 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <q981331502@163.com>

2022-12-14 20:26:31 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.source=https://github.com/qiandao-today/ddddocr-docker

2022-12-14 20:26:31 UTC (buildkit.dockerfile.v0)

ENV ONNXRUNTIME_TAG=v1.13.1

2022-12-14 20:26:31 UTC (buildkit.dockerfile.v0)

ENV DDDDOCR_VERSION=master

2022-12-14 20:26:31 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && echo 'http://mirrors.ustc.edu.cn/alpine/v3.16/main' >> /etc/apk/repositories && echo 'http://mirrors.ustc.edu.cn/alpine/v3.16/community' >> /etc/apk/repositories && apk update && apk add --update --no-cache bash git tzdata ca-certificates file python3 py3-six && [[ $(getconf LONG_BIT) = "32" ]] && { bashtmp='' && cxxtmp=''; } || { [[ -z $(file /bin/busybox | grep -i "arm") ]] && { bashtmp='/onnxruntime/build.sh' && cxxtmp=''; } || { bashtmp='setarch arm64 /onnxruntime/build.sh' && cxxtmp='-Wno-psabi'; }; } && echo $bashtmp && echo $cxxtmp && { [[ -n "$bashtmp" ]] && { apk add --update --no-cache py3-opencv py3-pillow && { apk add --update --no-cache --virtual .build_deps nano openssh-client cmake make perl autoconf g++=11.2.1_git20220219-r2 libexecinfo-dev=1.1-r1 automake linux-headers libtool util-linux openblas-dev python3-dev protobuf-dev date-dev gtest-dev eigen-dev flatbuffers-dev=2.0.0-r1 patch boost-dev nlohmann-json py3-pybind11-dev py3-pip py3-setuptools py3-wheel py3-numpy-dev || apk add --update --no-cache --virtual .build_deps nano openssh-client cmake make perl autoconf g++=11.2.1_git20220219-r2 libexecinfo-dev=1.1-r1 automake linux-headers libtool util-linux openblas-dev python3-dev protobuf-dev date-dev gtest-dev eigen-dev patch boost-dev nlohmann-json py3-pybind11-dev py3-pip py3-setuptools py3-wheel py3-numpy-dev ;} && git clone --depth 1 --branch $ONNXRUNTIME_TAG https://github.com/Microsoft/onnxruntime && cd /onnxruntime && git submodule update --init --recursive && cd .. && $bashtmp --config MinSizeRel --parallel --build_wheel --enable_pybind --cmake_extra_defines CMAKE_CXX_FLAGS="-Wno-deprecated-copy -Wno-unused-variable -Wno-unused-parameter $cxxtmp" onnxruntime_BUILD_UNIT_TESTS=OFF onnxruntime_BUILD_SHARED_LIB=OFF onnxruntime_USE_PREINSTALLED_EIGEN=ON onnxruntime_PREFER_SYSTEM_LIB=ON eigen_SOURCE_PATH=/usr/include/eigen3 --skip_tests && apk add --update --no-cache libprotobuf-lite && pip install --no-cache-dir /onnxruntime/build/Linux/MinSizeRel/dist/onnxruntime*.whl && ln -s $(python -c 'import warnings;warnings.filterwarnings("ignore"); from distutils.sysconfig import get_python_lib;print(get_python_lib())')/onnxruntime/capi/libonnxruntime_providers_shared.so /usr/lib && cd / && rm -rf /onnxruntime && 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 && python setup.py install && 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 arm32 wheels";} ;} && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit

2022-12-24 20:54:18 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <q981331502@163.com>

2022-12-24 20:54:18 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.source=https://github.com/qiandao-today/pycurl-docker

2022-12-24 20:54:18 UTC (buildkit.dockerfile.v0)

ENV PYCURL_SSL_LIBRARY=openssl

2022-12-24 20:54:18 UTC (buildkit.dockerfile.v0)

ENV SSL_VERSION=3.0.7

2022-12-24 20:54:18 UTC (buildkit.dockerfile.v0)

ENV CURL_VERSION=7.86.0

2022-12-24 20:54:18 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 && 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/nghttp3 && 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 nghttp3 && autoreconf -fi && ./configure --prefix=/usr --enable-lib-only && make -j$(($(grep -c ^processor /proc/cpuinfo) - 0)) check && make install && cd .. && rm -rf nghttp3 && cd ngtcp2 && 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 pycurl && apk del .build_deps && apk add --update --no-cache libidn2 libgsasl zlib c-ares && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit

2023-06-01 06:46:19 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <q981331502@163.com>

2023-06-01 06:46:19 UTC (buildkit.dockerfile.v0)

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

2023-06-01 06:46:19 UTC (buildkit.dockerfile.v0)

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

2023-06-01 06:46:19 UTC (buildkit.dockerfile.v0)

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

2023-06-01 06:46:19 UTC (buildkit.dockerfile.v0)

WORKDIR /usr/src/app

2023-06-01 06:52:06 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c sed -i 's/mirrors.ustc.edu.cn/dl-cdn.alpinelinux.org/g' /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 git@gitee.com:a76yyyy/qiandao.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 && [[ $(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 && pip install --no-cache-dir -r requirements.txt && 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

2023-06-01 06:52:06 UTC (buildkit.dockerfile.v0)

ENV PORT=80

2023-06-01 06:52:06 UTC (buildkit.dockerfile.v0)

EXPOSE map[80/tcp:{}]

2023-06-01 06:52:06 UTC (buildkit.dockerfile.v0)

ENV TZ=CST-8

2023-06-01 06:52:06 UTC (buildkit.dockerfile.v0)

VOLUME [/usr/src/app/config]

2023-06-01 06:52:06 UTC (buildkit.dockerfile.v0)

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

Danger Zone
Delete Tag

Please be careful as this will not just delete the reference but also the actual content!

For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.

Delete