You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I build a custom docker image to run CI for a PHP Application. I'm looking the right way to use it inside azure pipelines.
Now, the image is correctly pulled and started ("resources" container too) but pipeline fails when trying to execute the first "script" task (named 'composer install' in following example).
Following, a pipeline example close as possible of mine:
Starting: composer install
==============================================================================
Task : Command line
Description : Run a command line script using Bash on Linux and macOS and cmd.exe on Windows
Version : 2.246.1
Author : Microsoft Corporation
Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/command-line
==============================================================================
exec /__a/externals/node/bin/node: no such file or directory
##[error]Exit code 1 returned from process: file name '/usr/bin/docker', arguments 'exec -i -u 1001 -w /home/vsts_azpcontainer f57d9b1f13acc1ae7fb4a68e67f1cf7883b4f535be69e03855f76e2942c6f16c /__a/externals/node/bin/node /__w/_temp/containerHandlerInvoker.js'.
Finishing: composer install
My image contains bash, nodejs & npm. I do not know with tool i missed.
Versions
🤷♂️ Version : 2.246.1 🤷♂️
Environment type (Please select at least one enviroment where you face this issue)
Self-Hosted
Microsoft Hosted
VMSS Pool
Container
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Operation system
No response
Version controll system
No response
Azure DevOps Server Version (if applicable)
No response
The text was updated successfully, but these errors were encountered:
##[error]Exit code 126 returned from process: file name '/usr/bin/docker', arguments 'exec -i -u 1001 -w /home/vsts_azpcontainer c81f6c549eb45156d0aa0cb22df7266f88dca562ab488fddabd4d80c4e1fcea1 /usr/local/bin/node /__w/_temp/containerHandlerInvoker.js'.
In documentation a sentence say "If you depend on any in-box or Marketplace tasks, also supply the binaries they require.", i have no docker task or script in my pipeline, this is probably related too the agent and custom image
Describe your question
I build a custom docker image to run CI for a PHP Application. I'm looking the right way to use it inside azure pipelines.
Now, the image is correctly pulled and started ("resources" container too) but pipeline fails when trying to execute the first "script" task (named 'composer install' in following example).
Following, a pipeline example close as possible of mine:
The output looks like:
My image contains bash, nodejs & npm. I do not know with tool i missed.
Versions
🤷♂️ Version : 2.246.1 🤷♂️
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Operation system
No response
Version controll system
No response
Azure DevOps Server Version (if applicable)
No response
The text was updated successfully, but these errors were encountered: