Skip to content

Container Image - Support Bitbucket Pipeline #11978

Open
@VanCoding

Description

Is your feature request related to a problem?

The official Nix Container Image cannot be used in Bitbucket Pipelines because Bitbucket requires the binaries /bin/echo /bin/cat and /usr/bin/mkfifo to be there in the image.

That of course does not make any sense, but even after reporting the issue to Bitbucket Bitbucket did not react and it seems this won't get fixed anytime soon.

Proposed solution

Instead of waiting & hoping for Bitbucket to fix this issue, we could propably update the Nix image to have these binaries symlinked accordingly. I don't like that we need to do this, but what's the point of having an official image if it doesn't run in all of the major build pipelines.

Alternative solutions

We could of course just wait for Bitbucket and let users create patched images for themselves (that's what we're doing currently).

Additional context

There's also a topic on discourse about this: https://discourse.nixos.org/t/nixos-nix-docker-image-is-not-compatible-with-bitbucket-pipelines/48765

Checklist


Add 👍 to issues you find important.

Metadata

Assignees

Labels

featureFeature request or proposal

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions