Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

177
Views
trabajo fallido para crear la imagen de la ventana acoplable

cuando ejecuto el dockerfile en el servidor directamente, funciona perfectamente y crea la imagen, pero cuando lo ejecuto desde jenkins me da este error

 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 -c pecl install xdebug-3.0.4 && docker-php-ext-enable xdebug' returned a non-zero code: 1

alguna idea cuál es el problema ejecuto este paso como root y sigue siendo el mismo problema

over 4 years ago · Santiago Trujillo
3 answers
Answer question

0

Me encontré con el mismo error ayer. ¿Ha intentado usar otra imagen, por ejemplo, php:7.4-fpm-buster (o cli)? Me di cuenta de que las imágenes se han actualizado hace dos días. Cambiar la imagen hizo el truco para mí.

over 4 years ago · Santiago Trujillo Report

0

Acabo de ejecutar tu error también con varios comandos diferentes. Esto parece ser un cambio introducido en la dependencia Moby ascendente que va a Alpine Linux que va a la imagen de PHP.

Dos soluciones:

A corto plazo: fije su imagen a una versión anterior, por ejemplo, php: 7.3.28-apache (7.3.29 está roto en Docker 19 para mí).

A largo plazo: actualice Docker a 20.10.0+ Y libseccomp 2.4.4+ Y runc 1.0.0-rc93+ (lea las notas de la versión de Alpine 3.14.0 .

Fuentes:
https://github.com/docker-library/php/issues/1177
https://github.com/moby/moby/pull/41353
https://github.com/moby/moby/commit/a18139111d8a203bd211b0861c281ebe77daccd9
https://github.com/alpinelinux/docker-alpine/issues/182
https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.14.0

over 4 years ago · Santiago Trujillo Report

0

eliminé la ventana acoplable e instalé una versión más nueva y el problema se resolvió

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!