Fixing "usr/bin/mkfifo: not found" Error in Bitbucket Pipelines
Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.
Summary
Encountering the error "usr/bin/mkfifo: not found" is a result of using the base image 'busy-box' in Bitbucket Pipelines. The "busybox" image from Docker Hub follows a different path ("/bin/mkfifo") instead of the expected "/usr/bin/mkfifo," leading to this issue during the pipeline build.
For more details about symbolic links, you can find information in the document Understanding Symbolic Links in Linux.
Solution
To resolve this issue, create a symbolic link to the correct path. Below is an example configuration:
1
2
3
4
FROM busybox
RUN set -eux; \
mkdir -p /usr/bin; \
ln -s /bin/busybox /usr/bin/mkfifo;
For more details about symbolic links, you can find information in the document Understanding Symbolic Links in Linux.
Updated on February 25, 2025
Was this helpful?
Still need help?
The Atlassian Community is here for you.