Skip to content

Commit 0dc7a00

Browse files
justledbetterolljanat
authored andcommitted
Added nvi to the console image, for those who prefer that.
No net increase in image size: Before: $ ls -l ./dist/artifacts/burmillaos.iso -rw-r--r-- 1 brian brian 242221056 Jun 23 07:54 ./dist/artifacts/burmillaos.iso After adding nvi: -rw-r--r-- 1 brian brian 242221056 Jun 23 08:05 ./dist/artifacts/burmillaos.iso Net filesize on disk is around 476k: $ make run ... rancher@rancher-dev:~$ which vi /usr/bin/vi rancher@rancher-dev:~$ ls -l /usr/bin/vi lrwxrwxrwx 1 root root 20 Jun 23 12:01 /usr/bin/vi -> /etc/alternatives/vi rancher@rancher-dev:~$ ls -l /etc/alternatives/vi lrwxrwxrwx 1 root root 12 Jun 23 12:01 /etc/alternatives/vi -> /usr/bin/nvi rancher@rancher-dev:~$ ls -l /usr/bin/nvi -rwxr-xr-x 3 root root 476312 Dec 4 2018 /usr/bin/nvi
1 parent 4d473e8 commit 0dc7a00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

images/02-console/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ RUN apt-get update \
77
&& apt-get install -y --no-install-recommends iptables openssh-server rsync locales \
88
sudo less curl ca-certificates psmisc htop kmod iproute2 \
99
net-tools bash-completion wget \
10-
nano open-iscsi iputils-ping \
10+
nano open-iscsi iputils-ping nvi \
1111
&& update-alternatives --set iptables /usr/sbin/iptables-legacy \
1212
&& update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy \
1313
&& rm -rf /var/lib/apt/lists/* \

0 commit comments

Comments
 (0)