Add symbolic link to the correct path (usr/bin/mkfifo: not found)
Actual behavior Hi there, I am using bitbucket pipelines and would like to use Kaniko for a pipeline. I'm using kaniko debug image and i got this error "usr/bin/mkfifo: not found " (kaniko debug uses busybox image wich follows a different path ("/bin/mkfifo") instead of the expected "/usr/bin/mkfifo," leading to this issue during the pipeline build) Is there any possibility of adding symbolic link to the correct path in the dockerfile ? ( ln -s /bin/busybox /usr/bin/mkfifo;)
Expected behavior:
The build should succeed
To Reproduce: just use the kaniko debug image in bitbucket pipeline
Triage Notes for the Maintainers
| Description | Yes/No |
|---|---|
| Please check if this a new feature you are proposing |
|
| Please check if the build works in docker but not in kaniko |
|
Please check if this error is seen when you use --cache flag |
|
| Please check if your dockerfile is a multistage dockerfile |
|
Hi @amine-mokaddem would you mind adding more details for the repro i.e. Dockerfile, version of Kaniko image used etc.
This seems to be an Atlassian Bitbucket-specific problem. A symlink would of course be fine to be compatible. The workaround via a custom image is of course annoying at this point.
See: https://community.atlassian.com/t5/Bitbucket-questions/Pipeline-Build-Setup-bin-sh-usr-bin-mkfifo-not-found/qaq-p/1253290
See: https://confluence.atlassian.com/bbkb/fixing-usr-bin-mkfifo-not-found-error-in-bitbucket-pipelines-1217306504.html
I get error in Bitbucket Pipelines (non-modifiable step: Build setup):
/bin/sh: /usr/bin/mkfifo: not found
/bin/sh: /bin/echo: not found