Namespace
a76yyyy
Image / Tag
qiandao:20220901
Content Digest
sha256:6bce1a0cbd70fc57fcdc261368558a3bad79fa70471eeb7c70f7494cca5e09d4
Details
Created

2022-09-03 15:34:54 UTC

Size

130 MB

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

Environment
CURL_VERSION

7.84.0

DDDDOCR_VERSION

master

ONNXRUNTIME_TAG

v1.11.0

PATH

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

PORT

80

PYCURL_SSL_LIBRARY

openssl

TZ

CST-8


Layers

[#000] sha256:fcf2645943107a5c372056b6cdd883233459def1cd33feaeee2c18edfff8ff54 - 2.07% (2.7 MB)

[#001] sha256:45d5c8baf3fa141082e5bf83684428da9a3b23113a7cd71907ab9cbeb6614c44 - 24.12% (31.4 MB)

[#002] sha256:c4d81e927e67d5f094803f2906f9c41d855dfb5b37e5e1a8e496b403831cd534 - 21.14% (27.5 MB)

[#003] sha256:10621cebb666e8679f618968abfa0224d17a499824e8148963abe1fe8c687234 - 0.0% (2 KB)

[#004] sha256:4573b1c26547aff1382e989e59004d56fb0c861564b8a9e0a1208a1a37d2e9da - 0.0% (631 Bytes)

[#005] sha256:4abcccf45104f17b95409fc505cd0b8536249e86de158fc29b0756db657de8d9 - 0.0% (135 Bytes)

[#006] sha256:65f829d5c9700d96e6042203737f30d21cd8749b8d82369914bad609ffb8469f - 10.51% (13.7 MB)

[#007] sha256:ac8020a0a7982c0b62ffde97be7b0ea9634589c4a29de36a4fad6fdf348c15cb - 42.15% (54.9 MB)


History
2022-03-29 00:38:27 UTC

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

2022-03-29 00:38:27 UTC

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

2022-04-09 09:05:15 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <[email protected]>

2022-04-09 09:05:15 UTC (buildkit.dockerfile.v0)

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

2022-04-09 09:05:15 UTC (buildkit.dockerfile.v0)

ENV ONNXRUNTIME_TAG=v1.11.0

2022-04-09 09:05:15 UTC (buildkit.dockerfile.v0)

ENV DDDDOCR_VERSION=master

2022-04-09 09:05:15 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && apk update && apk add --update --no-cache bash git tzdata nano openssh-client ca-certificates file python3 py3-pip py3-setuptools py3-wheel && ln -s /usr/bin/python3 /usr/bin/python && [[ $(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-numpy-dev py3-opencv py3-pillow && { apk add --update --no-cache --virtual .build_deps cmake make perl autoconf g++ automake linux-headers libtool util-linux libexecinfo-dev openblas-dev python3-dev protobuf-dev flatbuffers-dev date-dev gtest-dev eigen-dev || apk add --update --no-cache --virtual .build_deps cmake make perl autoconf g++ automake linux-headers libtool util-linux libexecinfo-dev openblas-dev python3-dev protobuf-dev date-dev gtest-dev eigen-dev ;} && git clone --depth 1 --branch $ONNXRUNTIME_TAG https://github.com/Microsoft/onnxruntime && cd /onnxruntime && git submodule update --init --recursive && cd .. && rm /onnxruntime/onnxruntime/test/providers/cpu/nn/string_normalizer_test.cc && sed "s/ return filters/ filters += \[\'^test_strnorm.*\'\]\n return filters/" -i /onnxruntime/onnxruntime/test/python/onnx_backend_test_series.py && echo 'add_subdirectory(${PROJECT_SOURCE_DIR}/external/nsync EXCLUDE_FROM_ALL)' >> /onnxruntime/cmake/CMakeLists.txt && $bashtmp --config MinSizeRel --parallel --build_wheel --enable_pybind --cmake_extra_defines CMAKE_CXX_FLAGS="-Wno-deprecated-copy -Wno-unused-variable $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-07-17 09:16:00 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <[email protected]>

2022-07-17 09:16:00 UTC (buildkit.dockerfile.v0)

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

2022-07-17 09:16:00 UTC (buildkit.dockerfile.v0)

ENV PYCURL_SSL_LIBRARY=openssl

2022-07-17 09:16:00 UTC (buildkit.dockerfile.v0)

ENV CURL_VERSION=7.84.0

2022-07-17 09:16:00 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk update && apk add --update --no-cache bash git tzdata nano openssh-client ca-certificates python3 py3-pip py3-setuptools py3-wheel && apk add --update --no-cache --virtual .build_deps 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 c-ares-dev && file /bin/busybox && [[ $(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_1_1_1q+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 -i && ./configure --prefix=/usr --enable-lib-only && make -j$(($(grep -c ^processor /proc/cpuinfo) - 0)) check && make install && cd .. && rm -rf nghttp3 && cd ngtcp2 && autoreconf -i && ./configure PKG_CONFIG_PATH=/usr/lib/pkgconfig LDFLAGS="-Wl,-rpath,/usr/lib" --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/lib" ./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 && pip install --no-cache-dir --compile pycurl && apk del .build_deps && apk add --update --no-cache libidn2 libgsasl krb5 zstd-dev nghttp2 zlib brotli c-ares && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit

2022-09-03 15:31:11 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <[email protected]>

2022-09-03 15:31:11 UTC (buildkit.dockerfile.v0)

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

2022-09-03 15:31:11 UTC (buildkit.dockerfile.v0)

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

2022-09-03 15:31:11 UTC (buildkit.dockerfile.v0)

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

2022-09-03 15:31:11 UTC (buildkit.dockerfile.v0)

WORKDIR /usr/src/app

2022-09-03 15:33:00 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c chmod 600 /root/.ssh/id_rsa && ssh-keyscan gitee.com > /root/.ssh/known_hosts && let num=$RANDOM%100+10 && sleep $num && git clone [email protected]: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 # buildkit

2022-09-03 15:34:54 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk add --update --no-cache python3 py3-pip py3-setuptools py3-wheel python3-dev py3-markupsafe py3-pycryptodome py3-tornado py3-wrapt py3-packaging && [[ $(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 py3-greenlet py3-urllib3 && apk add --no-cache --virtual .build_deps cmake make perl autoconf g++ automake 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 && pip install --no-cache-dir -r requirements.txt && apk del .build_deps && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit

2022-09-03 15:34:54 UTC (buildkit.dockerfile.v0)

ENV PORT=80

2022-09-03 15:34:54 UTC (buildkit.dockerfile.v0)

EXPOSE map[80/tcp:{}]

2022-09-03 15:34:54 UTC (buildkit.dockerfile.v0)

ENV TZ=CST-8

2022-09-03 15:34:54 UTC (buildkit.dockerfile.v0)

VOLUME [/usr/src/app/config]

2022-09-03 15:34:54 UTC (buildkit.dockerfile.v0)

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

Details
Created

2022-09-03 15:34:34 UTC

Size

305 MB

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

Environment
CURL_VERSION

7.84.0

DDDDOCR_VERSION

master

ONNXRUNTIME_TAG

v1.11.0

PATH

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

PORT

80

PYCURL_SSL_LIBRARY

openssl

TZ

CST-8


Layers

[#000] sha256:95834d4850cc37ffde061d2868c841badc775b894bae9f9c2ab07147d5f51996 - 0.88% (2.69 MB)

[#001] sha256:74314c174e0a435cab395e14592ccc471f0ceacf5f35122db44d6dd6a1c402bc - 67.98% (207 MB)

[#002] sha256:a189eac43edcad3cde1bc66e3d5c2470d3456b6650f778adc1f6455e252cdb54 - 8.47% (25.8 MB)

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

[#004] sha256:42cdd04b307537d2def418f49663adaa67d79009d2ef60a1b05fa9730cb2532a - 0.0% (633 Bytes)

[#005] sha256:6f0dd8d248725248f769cde26f400efbec3ea993d8c1d168e04b8b4570a9539b - 0.0% (135 Bytes)

[#006] sha256:609e0950ee3f9ea37b6f6bfbbac2fcddb49fe4bf953113ad54a500a246fe27cc - 4.49% (13.7 MB)

[#007] sha256:db7acbeeaba652948dd13d082e7f8c007386180c5fa55537d485c55b8308f36b - 18.17% (55.4 MB)


History
2022-03-29 00:19:31 UTC

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

2022-03-29 00:19:31 UTC

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

2022-04-09 10:00:18 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <[email protected]>

2022-04-09 10:00:18 UTC (buildkit.dockerfile.v0)

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

2022-04-09 10:00:18 UTC (buildkit.dockerfile.v0)

ENV ONNXRUNTIME_TAG=v1.11.0

2022-04-09 10:00:18 UTC (buildkit.dockerfile.v0)

ENV DDDDOCR_VERSION=master

2022-04-09 10:00:18 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && apk update && apk add --update --no-cache bash git tzdata nano openssh-client ca-certificates file python3 py3-pip py3-setuptools py3-wheel && ln -s /usr/bin/python3 /usr/bin/python && [[ $(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-numpy-dev py3-opencv py3-pillow && { apk add --update --no-cache --virtual .build_deps cmake make perl autoconf g++ automake linux-headers libtool util-linux libexecinfo-dev openblas-dev python3-dev protobuf-dev flatbuffers-dev date-dev gtest-dev eigen-dev || apk add --update --no-cache --virtual .build_deps cmake make perl autoconf g++ automake linux-headers libtool util-linux libexecinfo-dev openblas-dev python3-dev protobuf-dev date-dev gtest-dev eigen-dev ;} && git clone --depth 1 --branch $ONNXRUNTIME_TAG https://github.com/Microsoft/onnxruntime && cd /onnxruntime && git submodule update --init --recursive && cd .. && rm /onnxruntime/onnxruntime/test/providers/cpu/nn/string_normalizer_test.cc && sed "s/ return filters/ filters += \[\'^test_strnorm.*\'\]\n return filters/" -i /onnxruntime/onnxruntime/test/python/onnx_backend_test_series.py && echo 'add_subdirectory(${PROJECT_SOURCE_DIR}/external/nsync EXCLUDE_FROM_ALL)' >> /onnxruntime/cmake/CMakeLists.txt && $bashtmp --config MinSizeRel --parallel --build_wheel --enable_pybind --cmake_extra_defines CMAKE_CXX_FLAGS="-Wno-deprecated-copy -Wno-unused-variable $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-07-17 09:13:34 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <[email protected]>

2022-07-17 09:13:34 UTC (buildkit.dockerfile.v0)

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

2022-07-17 09:13:34 UTC (buildkit.dockerfile.v0)

ENV PYCURL_SSL_LIBRARY=openssl

2022-07-17 09:13:34 UTC (buildkit.dockerfile.v0)

ENV CURL_VERSION=7.84.0

2022-07-17 09:13:34 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk update && apk add --update --no-cache bash git tzdata nano openssh-client ca-certificates python3 py3-pip py3-setuptools py3-wheel && apk add --update --no-cache --virtual .build_deps 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 c-ares-dev && file /bin/busybox && [[ $(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_1_1_1q+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 -i && ./configure --prefix=/usr --enable-lib-only && make -j$(($(grep -c ^processor /proc/cpuinfo) - 0)) check && make install && cd .. && rm -rf nghttp3 && cd ngtcp2 && autoreconf -i && ./configure PKG_CONFIG_PATH=/usr/lib/pkgconfig LDFLAGS="-Wl,-rpath,/usr/lib" --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/lib" ./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 && pip install --no-cache-dir --compile pycurl && apk del .build_deps && apk add --update --no-cache libidn2 libgsasl krb5 zstd-dev nghttp2 zlib brotli c-ares && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit

2022-09-03 15:31:14 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <[email protected]>

2022-09-03 15:31:14 UTC (buildkit.dockerfile.v0)

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

2022-09-03 15:31:14 UTC (buildkit.dockerfile.v0)

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

2022-09-03 15:31:14 UTC (buildkit.dockerfile.v0)

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

2022-09-03 15:31:14 UTC (buildkit.dockerfile.v0)

WORKDIR /usr/src/app

2022-09-03 15:32:44 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c chmod 600 /root/.ssh/id_rsa && ssh-keyscan gitee.com > /root/.ssh/known_hosts && let num=$RANDOM%100+10 && sleep $num && git clone [email protected]: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 # buildkit

2022-09-03 15:34:34 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk add --update --no-cache python3 py3-pip py3-setuptools py3-wheel python3-dev py3-markupsafe py3-pycryptodome py3-tornado py3-wrapt py3-packaging && [[ $(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 py3-greenlet py3-urllib3 && apk add --no-cache --virtual .build_deps cmake make perl autoconf g++ automake 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 && pip install --no-cache-dir -r requirements.txt && apk del .build_deps && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit

2022-09-03 15:34:34 UTC (buildkit.dockerfile.v0)

ENV PORT=80

2022-09-03 15:34:34 UTC (buildkit.dockerfile.v0)

EXPOSE map[80/tcp:{}]

2022-09-03 15:34:34 UTC (buildkit.dockerfile.v0)

ENV TZ=CST-8

2022-09-03 15:34:34 UTC (buildkit.dockerfile.v0)

VOLUME [/usr/src/app/config]

2022-09-03 15:34:34 UTC (buildkit.dockerfile.v0)

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

Details
Created

2022-09-03 15:38:31 UTC

Size

127 MB

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

Environment
CURL_VERSION

7.84.0

DDDDOCR_VERSION

master

ONNXRUNTIME_TAG

v1.11.0

PATH

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

PORT

80

PYCURL_SSL_LIBRARY

openssl

TZ

CST-8


Layers

[#000] sha256:225547293d9a8327f52d4a775caa0cd0fe0e8945b754216b71b3e0a504959293 - 1.98% (2.51 MB)

[#001] sha256:b45b9d55198362361b1562099a4e5432de03b85812d23a1691eaf65e655373a2 - 23.56% (29.8 MB)

[#002] sha256:1f4b9b1e05e05cc8ca459ee6d76e086811bbf8204f3e011f03895af4d7f00997 - 20.73% (26.3 MB)

[#003] sha256:994d74bd18eb4a0ee1c3b2429f2214b9fbd644ae89d592ebb8a708687936a2a9 - 0.0% (2 KB)

[#004] sha256:13e4ea3d48805d69c5967e8ffb18719845f9729475cab63debde0ecc9e3f7589 - 0.0% (631 Bytes)

[#005] sha256:4abcccf45104f17b95409fc505cd0b8536249e86de158fc29b0756db657de8d9 - 0.0% (135 Bytes)

[#006] sha256:5cae0bb098a05044377ea55f115e9d82ee8293434537470a2a35e020de0a4b95 - 10.8% (13.7 MB)

[#007] sha256:856b06e2a85700c7f6cd56664ceffac2dba735f9f16b4c638655914956d16513 - 42.93% (54.4 MB)


History
2022-03-29 00:49:21 UTC

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

2022-03-29 00:49:21 UTC

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

2022-04-09 09:05:25 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <[email protected]>

2022-04-09 09:05:25 UTC (buildkit.dockerfile.v0)

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

2022-04-09 09:05:25 UTC (buildkit.dockerfile.v0)

ENV ONNXRUNTIME_TAG=v1.11.0

2022-04-09 09:05:25 UTC (buildkit.dockerfile.v0)

ENV DDDDOCR_VERSION=master

2022-04-09 09:05:25 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && apk update && apk add --update --no-cache bash git tzdata nano openssh-client ca-certificates file python3 py3-pip py3-setuptools py3-wheel && ln -s /usr/bin/python3 /usr/bin/python && [[ $(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-numpy-dev py3-opencv py3-pillow && { apk add --update --no-cache --virtual .build_deps cmake make perl autoconf g++ automake linux-headers libtool util-linux libexecinfo-dev openblas-dev python3-dev protobuf-dev flatbuffers-dev date-dev gtest-dev eigen-dev || apk add --update --no-cache --virtual .build_deps cmake make perl autoconf g++ automake linux-headers libtool util-linux libexecinfo-dev openblas-dev python3-dev protobuf-dev date-dev gtest-dev eigen-dev ;} && git clone --depth 1 --branch $ONNXRUNTIME_TAG https://github.com/Microsoft/onnxruntime && cd /onnxruntime && git submodule update --init --recursive && cd .. && rm /onnxruntime/onnxruntime/test/providers/cpu/nn/string_normalizer_test.cc && sed "s/ return filters/ filters += \[\'^test_strnorm.*\'\]\n return filters/" -i /onnxruntime/onnxruntime/test/python/onnx_backend_test_series.py && echo 'add_subdirectory(${PROJECT_SOURCE_DIR}/external/nsync EXCLUDE_FROM_ALL)' >> /onnxruntime/cmake/CMakeLists.txt && $bashtmp --config MinSizeRel --parallel --build_wheel --enable_pybind --cmake_extra_defines CMAKE_CXX_FLAGS="-Wno-deprecated-copy -Wno-unused-variable $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-07-17 12:34:17 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <[email protected]>

2022-07-17 12:34:17 UTC (buildkit.dockerfile.v0)

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

2022-07-17 12:34:17 UTC (buildkit.dockerfile.v0)

ENV PYCURL_SSL_LIBRARY=openssl

2022-07-17 12:34:17 UTC (buildkit.dockerfile.v0)

ENV CURL_VERSION=7.84.0

2022-07-17 12:34:17 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk update && apk add --update --no-cache bash git tzdata nano openssh-client ca-certificates python3 py3-pip py3-setuptools py3-wheel && apk add --update --no-cache --virtual .build_deps 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 c-ares-dev && file /bin/busybox && [[ $(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_1_1_1q+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 -i && ./configure --prefix=/usr --enable-lib-only && make -j$(($(grep -c ^processor /proc/cpuinfo) - 0)) check && make install && cd .. && rm -rf nghttp3 && cd ngtcp2 && autoreconf -i && ./configure PKG_CONFIG_PATH=/usr/lib/pkgconfig LDFLAGS="-Wl,-rpath,/usr/lib" --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/lib" ./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 && pip install --no-cache-dir --compile pycurl && apk del .build_deps && apk add --update --no-cache libidn2 libgsasl krb5 zstd-dev nghttp2 zlib brotli c-ares && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit

2022-09-03 15:31:11 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <[email protected]>

2022-09-03 15:31:11 UTC (buildkit.dockerfile.v0)

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

2022-09-03 15:31:11 UTC (buildkit.dockerfile.v0)

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

2022-09-03 15:31:11 UTC (buildkit.dockerfile.v0)

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

2022-09-03 15:31:11 UTC (buildkit.dockerfile.v0)

WORKDIR /usr/src/app

2022-09-03 15:32:44 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c chmod 600 /root/.ssh/id_rsa && ssh-keyscan gitee.com > /root/.ssh/known_hosts && let num=$RANDOM%100+10 && sleep $num && git clone [email protected]: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 # buildkit

2022-09-03 15:38:31 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk add --update --no-cache python3 py3-pip py3-setuptools py3-wheel python3-dev py3-markupsafe py3-pycryptodome py3-tornado py3-wrapt py3-packaging && [[ $(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 py3-greenlet py3-urllib3 && apk add --no-cache --virtual .build_deps cmake make perl autoconf g++ automake 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 && pip install --no-cache-dir -r requirements.txt && apk del .build_deps && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit

2022-09-03 15:38:31 UTC (buildkit.dockerfile.v0)

ENV PORT=80

2022-09-03 15:38:31 UTC (buildkit.dockerfile.v0)

EXPOSE map[80/tcp:{}]

2022-09-03 15:38:31 UTC (buildkit.dockerfile.v0)

ENV TZ=CST-8

2022-09-03 15:38:31 UTC (buildkit.dockerfile.v0)

VOLUME [/usr/src/app/config]

2022-09-03 15:38:31 UTC (buildkit.dockerfile.v0)

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

Details
Created

2022-09-03 15:38:33 UTC

Size

124 MB

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

Environment
CURL_VERSION

7.84.0

DDDDOCR_VERSION

master

ONNXRUNTIME_TAG

v1.11.0

PATH

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

PORT

80

PYCURL_SSL_LIBRARY

openssl

TZ

CST-8


Layers

[#000] sha256:7bd94b90b7a31243ebc3c09e3db843d7800f3eb67ae50f165bb6e4bc7def1511 - 1.87% (2.32 MB)

[#001] sha256:9ee86309c76d4ba43da1142155f79f3b5c5aacaa73c23012a3d7a584142b29c2 - 23.01% (28.5 MB)

[#002] sha256:17874d38356aae2ac9a3738c2ba1918760ebf6bf9863abd175ec167233d3099e - 20.5% (25.4 MB)

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

[#004] sha256:625b4f67bc11ad2616b3520572c6f4ba8c955d59af6bf85bbe1e33f8b8765828 - 0.0% (631 Bytes)

[#005] sha256:4abcccf45104f17b95409fc505cd0b8536249e86de158fc29b0756db657de8d9 - 0.0% (135 Bytes)

[#006] sha256:54082db386e7cd8f939e79817d3c5f971b423349941eaa08e466c91b0ab32981 - 11.05% (13.7 MB)

[#007] sha256:f83bc1056eb18727a0a9419164eeae54bc44490e287fb0e896f666849f8688d3 - 43.56% (53.9 MB)


History
2022-03-29 02:13:14 UTC

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

2022-03-29 02:13:15 UTC

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

2022-04-09 09:05:26 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <[email protected]>

2022-04-09 09:05:26 UTC (buildkit.dockerfile.v0)

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

2022-04-09 09:05:26 UTC (buildkit.dockerfile.v0)

ENV ONNXRUNTIME_TAG=v1.11.0

2022-04-09 09:05:26 UTC (buildkit.dockerfile.v0)

ENV DDDDOCR_VERSION=master

2022-04-09 09:05:26 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && apk update && apk add --update --no-cache bash git tzdata nano openssh-client ca-certificates file python3 py3-pip py3-setuptools py3-wheel && ln -s /usr/bin/python3 /usr/bin/python && [[ $(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-numpy-dev py3-opencv py3-pillow && { apk add --update --no-cache --virtual .build_deps cmake make perl autoconf g++ automake linux-headers libtool util-linux libexecinfo-dev openblas-dev python3-dev protobuf-dev flatbuffers-dev date-dev gtest-dev eigen-dev || apk add --update --no-cache --virtual .build_deps cmake make perl autoconf g++ automake linux-headers libtool util-linux libexecinfo-dev openblas-dev python3-dev protobuf-dev date-dev gtest-dev eigen-dev ;} && git clone --depth 1 --branch $ONNXRUNTIME_TAG https://github.com/Microsoft/onnxruntime && cd /onnxruntime && git submodule update --init --recursive && cd .. && rm /onnxruntime/onnxruntime/test/providers/cpu/nn/string_normalizer_test.cc && sed "s/ return filters/ filters += \[\'^test_strnorm.*\'\]\n return filters/" -i /onnxruntime/onnxruntime/test/python/onnx_backend_test_series.py && echo 'add_subdirectory(${PROJECT_SOURCE_DIR}/external/nsync EXCLUDE_FROM_ALL)' >> /onnxruntime/cmake/CMakeLists.txt && $bashtmp --config MinSizeRel --parallel --build_wheel --enable_pybind --cmake_extra_defines CMAKE_CXX_FLAGS="-Wno-deprecated-copy -Wno-unused-variable $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-07-17 12:35:33 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <[email protected]>

2022-07-17 12:35:33 UTC (buildkit.dockerfile.v0)

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

2022-07-17 12:35:33 UTC (buildkit.dockerfile.v0)

ENV PYCURL_SSL_LIBRARY=openssl

2022-07-17 12:35:33 UTC (buildkit.dockerfile.v0)

ENV CURL_VERSION=7.84.0

2022-07-17 12:35:33 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk update && apk add --update --no-cache bash git tzdata nano openssh-client ca-certificates python3 py3-pip py3-setuptools py3-wheel && apk add --update --no-cache --virtual .build_deps 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 c-ares-dev && file /bin/busybox && [[ $(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_1_1_1q+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 -i && ./configure --prefix=/usr --enable-lib-only && make -j$(($(grep -c ^processor /proc/cpuinfo) - 0)) check && make install && cd .. && rm -rf nghttp3 && cd ngtcp2 && autoreconf -i && ./configure PKG_CONFIG_PATH=/usr/lib/pkgconfig LDFLAGS="-Wl,-rpath,/usr/lib" --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/lib" ./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 && pip install --no-cache-dir --compile pycurl && apk del .build_deps && apk add --update --no-cache libidn2 libgsasl krb5 zstd-dev nghttp2 zlib brotli c-ares && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit

2022-09-03 15:31:11 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <[email protected]>

2022-09-03 15:31:11 UTC (buildkit.dockerfile.v0)

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

2022-09-03 15:31:11 UTC (buildkit.dockerfile.v0)

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

2022-09-03 15:31:11 UTC (buildkit.dockerfile.v0)

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

2022-09-03 15:31:11 UTC (buildkit.dockerfile.v0)

WORKDIR /usr/src/app

2022-09-03 15:32:19 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c chmod 600 /root/.ssh/id_rsa && ssh-keyscan gitee.com > /root/.ssh/known_hosts && let num=$RANDOM%100+10 && sleep $num && git clone [email protected]: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 # buildkit

2022-09-03 15:38:33 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk add --update --no-cache python3 py3-pip py3-setuptools py3-wheel python3-dev py3-markupsafe py3-pycryptodome py3-tornado py3-wrapt py3-packaging && [[ $(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 py3-greenlet py3-urllib3 && apk add --no-cache --virtual .build_deps cmake make perl autoconf g++ automake 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 && pip install --no-cache-dir -r requirements.txt && apk del .build_deps && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit

2022-09-03 15:38:33 UTC (buildkit.dockerfile.v0)

ENV PORT=80

2022-09-03 15:38:33 UTC (buildkit.dockerfile.v0)

EXPOSE map[80/tcp:{}]

2022-09-03 15:38:33 UTC (buildkit.dockerfile.v0)

ENV TZ=CST-8

2022-09-03 15:38:33 UTC (buildkit.dockerfile.v0)

VOLUME [/usr/src/app/config]

2022-09-03 15:38:33 UTC (buildkit.dockerfile.v0)

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

Details
Created

2022-09-03 15:39:05 UTC

Size

295 MB

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

Environment
CURL_VERSION

7.84.0

DDDDOCR_VERSION

master

ONNXRUNTIME_TAG

v1.11.0

PATH

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

PORT

80

PYCURL_SSL_LIBRARY

openssl

TZ

CST-8


Layers

[#000] sha256:dd1e6e89ca16fee0b2f3efdb52e8a6ed2bc5dc0fd31091c459c595f1fb1b3442 - 0.88% (2.6 MB)

[#001] sha256:d7350d4b7d1a5d4b46e8fd583d7aaf4ea1f4502def37410eb14319c40c391544 - 67.07% (198 MB)

[#002] sha256:17bbe2612d86ec25515e2cb09a1277975a097487d62a9f122909c02b00ed6d21 - 8.68% (25.6 MB)

[#003] sha256:32ce0bb77c5f8c82488e24edbcd593725128df2cfa36ead9ce2008b7d7a5eed3 - 0.0% (2 KB)

[#004] sha256:2965c72ed92683432f23d084c95aea8259e2bb84a20258583a413c9bdf6371a7 - 0.0% (630 Bytes)

[#005] sha256:6f0dd8d248725248f769cde26f400efbec3ea993d8c1d168e04b8b4570a9539b - 0.0% (135 Bytes)

[#006] sha256:b0a69173a05b2be867bc369326219aca949e6e031ef1e656b092f26cc3a3bbe2 - 4.64% (13.7 MB)

[#007] sha256:ad069f00833c9572e7183c7adf5607ce6889c1962a8a4b818706ec6efd7e8eaa - 18.74% (55.3 MB)


History
2022-03-29 00:39:58 UTC

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

2022-03-29 00:39:58 UTC

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

2022-04-09 14:24:01 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <[email protected]>

2022-04-09 14:24:01 UTC (buildkit.dockerfile.v0)

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

2022-04-09 14:24:01 UTC (buildkit.dockerfile.v0)

ENV ONNXRUNTIME_TAG=v1.11.0

2022-04-09 14:24:01 UTC (buildkit.dockerfile.v0)

ENV DDDDOCR_VERSION=master

2022-04-09 14:24:01 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && apk update && apk add --update --no-cache bash git tzdata nano openssh-client ca-certificates file python3 py3-pip py3-setuptools py3-wheel && ln -s /usr/bin/python3 /usr/bin/python && [[ $(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-numpy-dev py3-opencv py3-pillow && { apk add --update --no-cache --virtual .build_deps cmake make perl autoconf g++ automake linux-headers libtool util-linux libexecinfo-dev openblas-dev python3-dev protobuf-dev flatbuffers-dev date-dev gtest-dev eigen-dev || apk add --update --no-cache --virtual .build_deps cmake make perl autoconf g++ automake linux-headers libtool util-linux libexecinfo-dev openblas-dev python3-dev protobuf-dev date-dev gtest-dev eigen-dev ;} && git clone --depth 1 --branch $ONNXRUNTIME_TAG https://github.com/Microsoft/onnxruntime && cd /onnxruntime && git submodule update --init --recursive && cd .. && rm /onnxruntime/onnxruntime/test/providers/cpu/nn/string_normalizer_test.cc && sed "s/ return filters/ filters += \[\'^test_strnorm.*\'\]\n return filters/" -i /onnxruntime/onnxruntime/test/python/onnx_backend_test_series.py && echo 'add_subdirectory(${PROJECT_SOURCE_DIR}/external/nsync EXCLUDE_FROM_ALL)' >> /onnxruntime/cmake/CMakeLists.txt && $bashtmp --config MinSizeRel --parallel --build_wheel --enable_pybind --cmake_extra_defines CMAKE_CXX_FLAGS="-Wno-deprecated-copy -Wno-unused-variable $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-07-17 12:40:29 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <[email protected]>

2022-07-17 12:40:29 UTC (buildkit.dockerfile.v0)

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

2022-07-17 12:40:29 UTC (buildkit.dockerfile.v0)

ENV PYCURL_SSL_LIBRARY=openssl

2022-07-17 12:40:29 UTC (buildkit.dockerfile.v0)

ENV CURL_VERSION=7.84.0

2022-07-17 12:40:29 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk update && apk add --update --no-cache bash git tzdata nano openssh-client ca-certificates python3 py3-pip py3-setuptools py3-wheel && apk add --update --no-cache --virtual .build_deps 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 c-ares-dev && file /bin/busybox && [[ $(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_1_1_1q+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 -i && ./configure --prefix=/usr --enable-lib-only && make -j$(($(grep -c ^processor /proc/cpuinfo) - 0)) check && make install && cd .. && rm -rf nghttp3 && cd ngtcp2 && autoreconf -i && ./configure PKG_CONFIG_PATH=/usr/lib/pkgconfig LDFLAGS="-Wl,-rpath,/usr/lib" --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/lib" ./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 && pip install --no-cache-dir --compile pycurl && apk del .build_deps && apk add --update --no-cache libidn2 libgsasl krb5 zstd-dev nghttp2 zlib brotli c-ares && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit

2022-09-03 15:31:14 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <[email protected]>

2022-09-03 15:31:14 UTC (buildkit.dockerfile.v0)

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

2022-09-03 15:31:14 UTC (buildkit.dockerfile.v0)

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

2022-09-03 15:31:14 UTC (buildkit.dockerfile.v0)

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

2022-09-03 15:31:14 UTC (buildkit.dockerfile.v0)

WORKDIR /usr/src/app

2022-09-03 15:33:22 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c chmod 600 /root/.ssh/id_rsa && ssh-keyscan gitee.com > /root/.ssh/known_hosts && let num=$RANDOM%100+10 && sleep $num && git clone [email protected]: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 # buildkit

2022-09-03 15:39:05 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk add --update --no-cache python3 py3-pip py3-setuptools py3-wheel python3-dev py3-markupsafe py3-pycryptodome py3-tornado py3-wrapt py3-packaging && [[ $(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 py3-greenlet py3-urllib3 && apk add --no-cache --virtual .build_deps cmake make perl autoconf g++ automake 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 && pip install --no-cache-dir -r requirements.txt && apk del .build_deps && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit

2022-09-03 15:39:05 UTC (buildkit.dockerfile.v0)

ENV PORT=80

2022-09-03 15:39:05 UTC (buildkit.dockerfile.v0)

EXPOSE map[80/tcp:{}]

2022-09-03 15:39:05 UTC (buildkit.dockerfile.v0)

ENV TZ=CST-8

2022-09-03 15:39:05 UTC (buildkit.dockerfile.v0)

VOLUME [/usr/src/app/config]

2022-09-03 15:39:05 UTC (buildkit.dockerfile.v0)

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