【发布时间】:2020-02-19 18:37:00
【问题描述】:
我正在尝试在 bitbucket 上设置管道,但在 composer 运行时收到错误消息
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for craftcms/cms 3.1.24 -> satisfiable by craftcms/cms[3.1.24].
- craftcms/cms 3.1.24 requires ext-zip * -> the requested PHP extension zip is missing from your system.
我不确定我需要在bitbucket-pipelines.yml 文件中添加什么。
这是我当前的文件:
image: php:7.2
pipelines:
branches:
master:
- step:
script:
- apt-get update && apt-get install -y unzip git rsync zip
- curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
- composer install
- php deploy.php
这家伙似乎也有类似的问题,但我不确定他是如何解决的。这很模糊,他似乎也有更多关于 mcrypt 的输出:Docker: bitbucket pipelines ext-zip *
如果您好奇,我的配置来自 fortrabbit.com 上的这个建议提交:https://gist.github.com/ukautz/4f3219c3eb5d97fbd018027dca4b8808
它正在运行的php文件在上面的链接上,但它还没有达到,所以它与我的问题无关
我不完全确定我必须安装什么,或者我只是没有看到记录的实际问题(例如,如果某处有更详细的日志而我没有看到实际问题)
【问题讨论】:
标签: bitbucket bitbucket-pipelines