Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
dockerTools.buildImage: do not add /nix/store in the tar stream #34939
Since the /nix/store directory is not immutable, tar can fails if it
Motivation for this change
Build and run 20 of my Docker images
Success on x86_64-linux (full log)
Partial log (click to expand)
Feb 14, 2018
8 checks passed
Ah, hm. @nlewo did you originally push this because you wanted to run nix inside the docker container?
Personally I’d say
@LnL7 If you add a (failing) VM test for your use-case, we can use it for regression testing in the future.
I did this because you must not read
We are also facing the user permission problem that is addressed in #38837.
I also think we should add a test regarding user permissions.