当我直接在服务器上运行 dockerfile 时,它工作完美并构建图像,但是当我从 jenkins 运行它时,它给了我这个错误
Step 5/67 : RUN pecl install xdebug-3.0.4 && docker-php-ext-enable xdebug
---> Running in 111bf1524f04
downloading xdebug-3.0.4.tgz ...
Starting to download xdebug-3.0.4.tgz (215,870 bytes)
.............................................done: 215,870 bytes
87 source files, building
running: phpize
Configuring for:
PHP Api Version: 20190902
Zend Module Api No: 20190902
Zend Extension Api No: 320190902
building in /tmp/pear/temp/pear-build-defaultuser2CL8YH/xdebug-3.0.4
running: /tmp/pear/temp/xdebug/configure --with-php-config=/usr/local/bin/php-config
ls: cannot access '.': Operation not permitted
configure: error: working directory cannot be determined
ERROR: `/tmp/pear/temp/xdebug/configure --with-php-config=/usr/local/bin/php-config' failed
The command '/bin/sh …Run Code Online (Sandbox Code Playgroud) 如何使用 Cloudtrail 获取 IAM 用户的创建者,如何从日志中获取