File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,6 @@ pkgs+=(binutils-gold) # Required build tool.
4646pkgs+=(curl) # Dependency for tools requiring downloading data.
4747pkgs+=(dpkg-dev) # Required packaging tool.
4848pkgs+=(debhelper) # Required packaging tool.
49- pkgs+=(xz-utils) # Required to install nix
5049pkgs+=(file) # Required packaging tool.
5150pkgs+=(git) # Required build tool.
5251pkgs+=(gpg) # Dependency for tools requiring signing or encrypting/decrypting.
@@ -61,6 +60,7 @@ pkgs+=(python3-pip) # Package manager for Python applications.
6160pkgs+=(unzip) # Dependency for tools requiring unzipping files.
6261pkgs+=(vim) # Text editor.
6362pkgs+=(wget) # Required build tool.
63+ pkgs+=(xz-utils) # Required to install nix
6464apt-get update
6565apt-get install -y --no-install-recommends "${pkgs[@]}"
6666apt-get clean
194194
195195# Install nix
196196RUN <<EOF
197- sh <(curl --proto '=https' --tlsv1.2 -L https://nixos.org/nix/install) --daemon
197+ sh <(curl --proto '=https' --tlsv1.2 -L https://nixos.org/nix/install) --daemon --yes
198198
199199# Verify the installation. Should be run from a new shell.
200200bash -c 'nix --version'
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ if [[ "${RHEL_VERSION}" == "8" ]]; then
2828else
2929 pkgs+=(binutils-gold) # Required build tool.
3030fi
31+ pkgs+=(curl) # Required to install nix
3132pkgs+=(file) # Required packaging tool.
3233pkgs+=(git) # Required build tool.
3334pkgs+=(gpg) # Dependency for tools requiring signing or encrypting/decrypting.
@@ -56,7 +57,6 @@ pkgs+=(rpm-build) # Required packaging tool.
5657pkgs+=(unzip) # Dependency for tools requiring unzipping files.
5758pkgs+=(vim) # Text editor.
5859pkgs+=(wget) # Required build tool.
59- pkgs+=(curl) # Required to install nix
6060pkgs+=(xz) # Required to install nix
6161dnf update -y
6262dnf install -y --allowerasing --setopt=tsflags=nodocs "${pkgs[@]}"
310310
311311# Install nix
312312RUN <<EOF
313- sh <(curl --proto '=https' --tlsv1.2 -L https://nixos.org/nix/install) --daemon
313+ sh <(curl --proto '=https' --tlsv1.2 -L https://nixos.org/nix/install) --daemon --yes
314314
315315# Verify the installation. Should be run from a new shell.
316316bash -c 'nix --version'
Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ pkgs+=(ca-certificates) # Enable TLS verification for HTTPS connections by provi
2929pkgs+=(binutils-gold) # Required build tool.
3030pkgs+=(curl) # Dependency for tools requiring downloading data.
3131pkgs+=(dpkg-dev) # Required packaging tool.
32- pkgs+=(xz-utils) # Required to install nix
3332pkgs+=(file) # Required packaging tool.
3433pkgs+=(git) # Required build tool.
3534pkgs+=(gpg) # Dependency for tools requiring signing or encrypting/decrypting.
@@ -44,6 +43,7 @@ pkgs+=(python3-pip) # Package manager for Python applications.
4443pkgs+=(unzip) # Dependency for tools requiring unzipping files.
4544pkgs+=(vim) # Text editor.
4645pkgs+=(wget) # Required build tool.
46+ pkgs+=(xz-utils) # Required to install nix
4747apt-get update
4848apt-get install -y --no-install-recommends "${pkgs[@]}"
4949apt-get clean
167167
168168# Install nix
169169RUN <<EOF
170- sh <(curl --proto '=https' --tlsv1.2 -L https://nixos.org/nix/install) --daemon
170+ sh <(curl --proto '=https' --tlsv1.2 -L https://nixos.org/nix/install) --daemon --yes
171171
172172# Verify the installation. Should be run from a new shell.
173173bash -c 'nix --version'
You can’t perform that action at this time.
0 commit comments