mirror of
https://github.com/nix-community/docker-nixpkgs.git
synced 2026-01-11 20:30:37 -05:00
images/nix: make sure /root exists
some external uses of the final image (eg drone) assume that $HOME exists and attempt to write to it.
This commit is contained in:
committed by
zimbatm
parent
9f6b62f45b
commit
0f24a9c94a
@@ -42,6 +42,9 @@ let
|
|||||||
|
|
||||||
# make sure /tmp exists
|
# make sure /tmp exists
|
||||||
mkdir -m 1777 tmp
|
mkdir -m 1777 tmp
|
||||||
|
|
||||||
|
# need a HOME
|
||||||
|
mkdir -vp root
|
||||||
'';
|
'';
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
|
|||||||
Reference in New Issue
Block a user