forked from lix-project/lix-installer
689cf84bbf
* Enable deleting users and groups on Mac * Scaffold user change * Add a warning if it doesn't work in situations we expect it to not work * Scaffold out doing group member ship -- maybe we need an AddGroup action * AddUserToGroup action * Update plans * Improve messaging * Nit in error message * Repair some review nits
9 lines
561 B
Docker
9 lines
561 B
Docker
FROM default
|
|
COPY nix-installer /nix-installer
|
|
RUN chmod +x /nix-installer
|
|
COPY binary-tarball /binary-tarball
|
|
RUN mv /binary-tarball/nix-*.tar.xz nix.tar.xz
|
|
RUN /nix-installer/bin/nix-installer install linux --nix-package-url file:///nix.tar.xz --init none --extra-conf "sandbox = false" --channel --no-confirm -vvv
|
|
ENV PATH="${PATH}:/nix/var/nix/profiles/default/bin"
|
|
RUN nix-build --no-substitute -E 'derivation { name = "foo"; system = "x86_64-linux"; builder = "/bin/sh"; args = ["-c" "echo foobar > $out"]; }'
|
|
RUN /nix/nix-installer uninstall --no-confirm |