首页
下载
文档
问答社区
视频
捐赠
源代码
AI 助理
赞助商
CRMEB
Apipost
腾讯云
微擎
禅道
51Talk
商业产品
Swoole AI 智能文档翻译器
Swoole-Compiler PHP 代码加密器
CRMEB 新零售社交电商系统
登录
注册
全部
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
发表新帖
Dockerfile文档中定制镜像出现错误,求大神指导!
### 使用Dockerfile安装swoole ### Swoole版本,PHP版本,以及操作系统版本信息 php:7.4.12 swoole 4.6.4 linux ### 相关代码 Dockerfile文档代码如下 FROM php:7.4.12-apache RUN apt-get update \ && apt-get -y install libpng-dev libcurl4-openssl-dev \ && docker-php-ext-install gd curl pdo pdo_mysql\ && apt-get autoclean ENV DEBIAN_FRONTEND noninteractive ENV TERM xterm-color ARG DEV_MODE ENV DEV_MODE $DEV_MODE COPY ./rootfilesystem/ / RUN \ curl -sfL https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer && \ chmod +x /usr/bin/composer && \ composer self-update 2.0.11 && \ apt-get update && \ apt-get install -y \ libcurl4-openssl-dev \ libssl-dev \ supervisor \ unzip \ zlib1g-dev \ --no-install-recommends && \ install-swoole.sh 4.6.4 \ --enable-http2 \ --enable-mysqlnd \ --enable-openssl \ --enable-sockets --enable-swoole-curl --enable-swoole-json && \ mkdir -p /var/log/supervisor && \ rm -rf /var/lib/apt/lists/* $HOME/.composer/*-old.phar /usr/bin/qemu-*-static ENTRYPOINT ["/entrypoint.sh"] ### 你期待的结果是什么?实际看到的错误信息又是什么? W: Failed to fetch http://deb.debian.org/debian/dists/buster/InRelease Could not connect to deb.debian.org:80 (151.101.110.132), connection timed out W: Failed to fetch http://deb.debian.org/debian/dists/buster-updates/InRelease Unable to connect to deb.debian.org:http: W: Some index files failed to download. They have been ignored, or old ones used instead. Reading package lists... Building dependency tree... Reading state information... Package libpng-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'libpng-dev' has no installation candidate 求大神指导!
发布于3年前 · 2 次浏览 · 来自
提问
l
liaoshu
### 使用Dockerfile安装swoole ### Swoole版本,PHP版本,以及操作系统版本信息 php:7.4.12 swoole 4.6.4 linux ### 相关代码 Dockerfile文档代码如下 FROM php:7.4.12-apache RUN apt-get update \ && apt-get -y install libpng-dev libcurl4-openssl-dev \ && docker-php-ext-install gd curl pdo pdo_mysql\ && apt-get autoclean ENV DEBIAN_FRONTEND noninteractive ENV TERM xterm-color ARG DEV_MODE ENV DEV_MODE $DEV_MODE COPY ./rootfilesystem/ / RUN \ curl -sfL https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer && \ chmod +x /usr/bin/composer && \ composer self-update 2.0.11 && \ apt-get update && \ apt-get install -y \ libcurl4-openssl-dev \ libssl-dev \ supervisor \ unzip \ zlib1g-dev \ --no-install-recommends && \ install-swoole.sh 4.6.4 \ --enable-http2 \ --enable-mysqlnd \ --enable-openssl \ --enable-sockets --enable-swoole-curl --enable-swoole-json && \ mkdir -p /var/log/supervisor && \ rm -rf /var/lib/apt/lists/* $HOME/.composer/*-old.phar /usr/bin/qemu-*-static ENTRYPOINT ["/entrypoint.sh"] ### 你期待的结果是什么?实际看到的错误信息又是什么? W: Failed to fetch http://deb.debian.org/debian/dists/buster/InRelease Could not connect to deb.debian.org:80 (151.101.110.132), connection timed out W: Failed to fetch http://deb.debian.org/debian/dists/buster-updates/InRelease Unable to connect to deb.debian.org:http: W: Some index files failed to download. They have been ignored, or old ones used instead. Reading package lists... Building dependency tree... Reading state information... Package libpng-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'libpng-dev' has no installation candidate 求大神指导!
赞
0
分享
收藏
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
评论
还没有评论!
微信公众号
热门内容
暂无回复的问答
- CodeGalaxy K3s 轻量集群节点之间如何实现负载均衡
- 关于openssl CURL WARNING swSSL_connect: SSL_connect(fd=69) failed. Error: error:141A318A:SSL routines:tls_process_ske_dhe:dh key too small[1|394]
- 多个模型如何进行事务异常回退?
- websocket开启wss报错
- 协程tcp服务器如何使用多进程?recv()方法接收信息,打印出来的pid一直是同一个。没用使用到多进程啊。