mirror of
https://github.com/rancher/os.git
synced 2025-09-17 15:40:47 +00:00
Merge pull request #977 from imikushin/console-tweaks
Bump ubuntu-console to 16.04, add man
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
FROM rancher/os-resizefs-base
|
||||
# FROM amd64=ubuntu:14.04.4 arm64=aarch64/ubuntu:14.04 arm=armhf/ubuntu:14.04
|
||||
# FROM amd64=ubuntu:16.04 arm64=aarch64/ubuntu:16.04 arm=armhf/ubuntu:16.04
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends cloud-guest-utils parted && \
|
||||
apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
|
@@ -1,6 +1,7 @@
|
||||
FROM rancher/os-fedoraconsole-base
|
||||
# FROM amd64=fedora:23 arm64=rancher/aarch64-fedora:23 arm=armv7/armhf-fedora:23
|
||||
RUN dnf upgrade -y && \
|
||||
dnf install -y iptables openssh-server rsync sudo vim less ca-certificates psmisc htop
|
||||
dnf install -y iptables openssh-server rsync sudo vim less ca-certificates psmisc htop procps-ng
|
||||
RUN rm -rf /etc/ssh/*key*
|
||||
RUN rm -fr /sbin/poweroff /sbin/shutdown /sbin/reboot /sbin/halt /usr/sbin/poweroff /usr/sbin/shutdown /usr/sbin/reboot /usr/sbin/halt
|
||||
RUN ln -s /sbin/agetty /sbin/getty
|
||||
|
@@ -1,5 +1,5 @@
|
||||
FROM rancher/os-ubuntuconsole-base
|
||||
# FROM amd64=ubuntu:14.04.4 arm64=aarch64/ubuntu:14.04 arm=armhf/ubuntu:14.04
|
||||
# FROM amd64=ubuntu:16.04 arm64=aarch64/ubuntu:16.04 arm=armhf/ubuntu:16.04
|
||||
RUN apt-get update && \
|
||||
apt-get upgrade --no-install-recommends -y && \
|
||||
apt-get install -y --no-install-recommends iptables openssh-server rsync vim curl ca-certificates psmisc htop
|
||||
|
Reference in New Issue
Block a user