Back to docker.io/daiyeqi/tengine
linux/arm/v7docker.io
docker.io/daiyeqi/tengine:3.1.0-alpine
Container image for Tengine built with Tongsuo
Size
8.65 MB
Local pulls
2
Upstream pulls
1,553
Synced at
2026-08-04 09:40:41
China image
registry.cn-global.starbucket.com.cn/starbucket/docker.io/daiyeqi/tengine:3.1.0-alpine
Source image
docker.io/daiyeqi/tengine:3.1.0-alpine
Image info
- Image ID
- sha256:49ea0d5ad083925c35cbc80b3ad7cf201c9cf3e2d4c390bfff428b47c38068fb
- Image tag
- 3.1.0-alpine
- Image size
- 8.65 MB
- Platform
- linux/arm/v7
- Registry
- docker.io
- Project
- Hub pageAll tagsLocal repo
- CMD
- /usr/sbin/nginx -g daemon off;
- Entrypoint
- —
- Working dir
- /
- User
- —
- StopSignal
- SIGQUIT
- Created
- 2026-04-02T14:21:29.315693534Z
Exposed ports 1
- 80/tcp
Environment 1
| PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
Labels 9
| maintainer | Dai Yeqi <daiyeqi@nichijou.com> |
| org.opencontainers.image.url | https://github.com/daiyeqi/docker-tengine |
| org.opencontainers.image.title | docker-tengine |
| org.opencontainers.image.source | https://github.com/daiyeqi/docker-tengine |
| org.opencontainers.image.created | 2026-04-02T12:39:53.934Z |
| org.opencontainers.image.version | 3.1.0-tongsuo.8.5.0-pre1-alpine |
| org.opencontainers.image.licenses | Apache-2.0 |
| org.opencontainers.image.revision | a98958772ed726222057b733a069e00cbda52595 |
| org.opencontainers.image.description | Tengine Docker built with Tongsuo (x86_64/aarch64/armhf) |
Pull commands
Docker
docker pull registry.cn-global.starbucket.com.cn/starbucket/docker.io/daiyeqi/tengine:3.1.0-alpine
docker tag registry.cn-global.starbucket.com.cn/starbucket/docker.io/daiyeqi/tengine:3.1.0-alpine docker.io/daiyeqi/tengine:3.1.0-alpine
Containerd
ctr images pull registry.cn-global.starbucket.com.cn/starbucket/docker.io/daiyeqi/tengine:3.1.0-alpine
ctr images tag registry.cn-global.starbucket.com.cn/starbucket/docker.io/daiyeqi/tengine:3.1.0-alpine docker.io/daiyeqi/tengine:3.1.0-alpine
YAML quick replace
sed -i 's#docker.io/daiyeqi/tengine:3.1.0-alpine#registry.cn-global.starbucket.com.cn/starbucket/docker.io/daiyeqi/tengine:3.1.0-alpine#' deployment.yaml
拉取国内加速地址后,可按需 tag 回源镜像名
Build history 10
2026-04-02 14:21:29empty layer
CMD ["/usr/sbin/nginx" "-g" "daemon off;"]
2026-04-02 14:21:29empty layer
STOPSIGNAL SIGQUIT
2026-04-02 14:21:29empty layer
EXPOSE [80/tcp]
2026-04-02 14:21:29
RUN |2 TONGSUO_VERSION=8.5.0-pre1 TENGINE_VERSION=3.1.0 /bin/sh -c set -eux && addgroup -g 101 -S nginx && adduser -S -D -H -u 101 -h /var/cache/nginx -s /sbin/nologin -G nginx -g nginx nginx && apkArch="$(cat /etc/apk/arch)" && case "$apkArch" in x86_64) tongsuo_opt="-march=native no-rc5 no-zlib no-ssl3 no-ssl3-method enable-cms no-capieng no-rdrand enable-ec_sm2p_64_gcc_128 enable-zlib enable-ntls --api=1.1.1"; ;; aarch64) tongsuo_opt="no-rc5 no-zlib no-ssl3 no-ssl3-method enable-cms no-capieng no-rdrand enable-ec_sm2p_64_gcc_128 enable-zlib enable-ntls --api=1.1.1"; ;; armv7) tongsuo_opt="no-rc5 no-zlib no-ssl3 no-ssl3-method enable-cms no-capieng no-rdrand enable-zlib enable-ntls --api=1.1.1"; ;; esac && apk add --no-cache --virtual .build-deps curl gcc libc-dev make pcre2-dev perl zlib-dev patch linux-headers bash && apk add --no-cache pcre2 zlib ca-certificates && export TEMP_HOME="$(mktemp -d)" && cd "$TEMP_HOME" && curl -L -o "$TEMP_HOME/tongsuo.tar.gz" https://github.com/Tongsuo-Project/Tongsuo/archive/refs/tags/$TONGSUO_VERSION.tar.gz && tar -zxf "$TEMP_HOME/tongsuo.tar.gz" && curl -L -o "$TEMP_HOME/tengine.tar.gz" https://github.com/alibaba/tengine/archive/refs/tags/$TENGINE_VERSION.tar.gz && tar -zxf "$TEMP_HOME/tengine.tar.gz" && cd "$TEMP_HOME/tengine-$TENGINE_VERSION/" && patch --dry-run -p1 < /tmp/patches/0001-tengine-3.1.0-fix-unterminated-string-initialization.patch && patch -p1 < /tmp/patches/0001-tengine-3.1.0-fix-unterminated-string-initialization.patch && mkdir -p /var/log/nginx /var/lib/nginx /run && chown nginx:nginx /var/lib/nginx && ./configure --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --modules-path=/usr/lib/nginx/modules --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --user=nginx --group=nginx --pid-path=/run/nginx.pid --lock-path=/run/nginx.lock --with-compat --with-pcre-jit --with-http_ssl_module --with-http_stub_status_module --with-http_realip_module --with-http_auth_request_module --with-http_v2_module --with-http_slice_module --with-threads --with-http_addition_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_mp4_module --with-http_random_index_module --with-http_secure_link_module --with-http_sub_module --with-stream_realip_module --with-stream_ssl_module --with-stream_sni --with-stream_ssl_preread_module --with-stream=dynamic --add-module=./modules/ngx_tongsuo_ntls --with-openssl="$TEMP_HOME/Tongsuo-$TONGSUO_VERSION" --with-openssl-opt="$tongsuo_opt" && make -j"$(nproc)" && make install && rm -rf "$TEMP_HOME" && apk del --no-network .build-deps && rm -rf /var/cache/apk/* && echo "Container for $(uname -m) CPU architecture." > /opt/architecture && ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log # buildkit
2026-04-02 12:39:55
COPY patches/0001-tengine-3.1.0-fix-unterminated-string-initialization.patch /tmp/patches/ # buildkit
2026-04-02 12:39:55empty layer
ARG TENGINE_VERSION=3.1.0
2026-04-02 12:39:55empty layer
ARG TONGSUO_VERSION=8.5.0-pre1
2026-04-02 12:39:55empty layer
LABEL maintainer=Dai Yeqi <daiyeqi@nichijou.com>