Install tools to prepare nixos rootfs in container
This commit is contained in:
parent
7564314de3
commit
79b5e2f0ee
|
|
@ -53,6 +53,7 @@ RUN apt update && apt-get install -y --no-install-recommends \
|
|||
clang-format `# formatting general tests` \
|
||||
cpio \
|
||||
cpuid \
|
||||
dosfstools \
|
||||
exfatprogs \
|
||||
file \
|
||||
grub-efi-amd64-bin \
|
||||
|
|
@ -62,6 +63,7 @@ RUN apt update && apt-get install -y --no-install-recommends \
|
|||
jq \
|
||||
net-tools \
|
||||
openssh-server \
|
||||
parted \
|
||||
pkg-config \
|
||||
socat \
|
||||
strace \
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ RUN sh <(curl -L https://nixos.org/nix/install) --daemon --yes \
|
|||
&& nix-channel --add https://nixos.org/channels/nixos-25.05 nixpkgs \
|
||||
&& nix-channel --update \
|
||||
&& nix-env -iA nixpkgs.nixfmt \
|
||||
&& nix-env -iA nixpkgs.nixos-install-tools \
|
||||
&& rm /nix/var/nix/gcroots/auto/* \
|
||||
&& nix-collect-garbage -d
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue