HalcyonAzure / lsky-pro-docker

☁️兰空图床(Lsky Pro) - Docker自动构建,支持多平台
GNU Affero General Public License v3.0
272 stars 65 forks source link

什么时候出armv7的docker镜像 #41

Closed NameMicrobe7931 closed 6 months ago

NameMicrobe7931 commented 7 months ago

如题,只有一台s805可以嚯嚯,但它是armv7架构,什么时候出v7版的docker

HalcyonAzure commented 7 months ago

我自己没有armv7的机器,可以试试根据readme文档自己编译一个v7的镜像出来。晚点我也会尝试看看能不能编译一个推送到dockerhub上

HalcyonAzure commented 7 months ago

我这边尝试编译了下,但是似乎官方的php没提供armv7对应的镜像,因此这边可能就也不会做适配了

 => CANCELED [linux/amd64 internal] load metadata for docker.io/library/php:8.1-apache                                                                                        3.8s
 => CANCELED [linux/amd64 internal] load metadata for docker.io/library/php:8.1                                                                                               3.8s
 => CANCELED [linux/arm64 internal] load metadata for docker.io/library/php:8.1-apache                                                                                        3.8s
 => ERROR [linux/armv7 internal] load metadata for docker.io/library/php:8.1-apache                                                                                           3.8s
 => CANCELED [linux/arm64 internal] load metadata for docker.io/library/php:8.1                                                                                               3.8s
 => ERROR [linux/armv7 internal] load metadata for docker.io/library/php:8.1                                                                                                  3.8s
------
 > [linux/armv7 internal] load metadata for docker.io/library/php:8.1-apache:
------
------
 > [linux/armv7 internal] load metadata for docker.io/library/php:8.1:
------
WARNING: No output specified with docker-container driver. Build result will only remain in the build cache. To push result image into registry use --push or to load image into docker use --load
Dockerfile:1
--------------------
   1 | >>> FROM php:8.1 AS build
   2 |     WORKDIR /build
   3 |
--------------------
ERROR: failed to solve: php:8.1: failed to resolve source metadata for docker.io/library/php:8.1: no match for platform in manifest: not found
HalcyonAzure commented 6 months ago

如果没有其他想法的话我就先close这个issue啦,如果后续有解决方案的话再re-open嘞