Added docker build failed.

This commit is contained in:
李铭昕 2019-06-29 11:04:25 +08:00
parent 2a291b3baa
commit b4a2a338a7

View File

@ -41,4 +41,15 @@ php bin/hyperf.php di:init-proxy && composer test
同理,启动命令可以使用以下代替
```
php bin/hyperf.php di:init-proxy && php bin/hyperf.php start
```
## Docker打包失败
显示 `wget: error getting response: Connection reset by peer`
修改我们默认的 `Dockerfile`,在 wget 之前添加以下代码
```
&& apk add ca-certificates wget openssl \
&& update-ca-certificates \
```