hyperf / hyperf-docker

🐳 The docker image offered by Hyperf.
https://hub.docker.com/r/hyperf/hyperf
306 stars 204 forks source link

hyperf/hyperf:7.3-alpine-v3.9-base 使用的 dl.bintray.com apk 镜像源 Permission denied #27

Closed jiangwennn closed 3 years ago

jiangwennn commented 3 years ago

现在 hyperf/hyperf:7.3-alpine-v3.9-swoole镜像无法执行update了,看提示是base镜像使用的 dl.bintray.com apk 镜像源 Permission denied

iris-xie commented 3 years ago

貌似是这个网站突然不维护了,卖给了杰蛙,我也被坑了,现在我们只能另外找别的基础镜像仓库

jiangwennn commented 3 years ago

https://github.com/codecasts/php-alpine/issues/131#issuecomment-823983749

替换了地址,不过没有v3.9的源,用了v3.10的,暂时算是可以构建了吧....

ushell commented 3 years ago

修复方案:

//Dockerfile
ADD https://packages.whatwedo.ch/php-alpine.rsa.pub /etc/apk/keys/php-alpine.rsa.pub
RUN sed -i 's/dl.bintray.com/packages.whatwedo.ch/g' /etc/apk/repositories
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories

参考: https://dev.whatwedo.ch/whatwedo/php-alpine https://github.com/codecasts/php-alpine/issues/131

hyperf的docker版本大概什么时候更新? 这个bintray仓库太坑了 :(

limingxinleo commented 3 years ago

@ushell 再等等,官方的人在看了

limingxinleo commented 3 years ago

fixed by https://github.com/hyperf/hyperf-docker/commit/adafdd4b934bbef8c2d74e8b699b9262f8ed710f

yexk commented 3 years ago

packages.whatwedo.ch 这个网站也不能用了。。

limingxinleo commented 3 years ago

hyperf/hyperf:7.3-alpine-v3.11-base

使用最新版本

@yexk