From 5231c8e575f5ede66637dc040cd77c17e153868d Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Fri, 24 May 2019 17:31:20 -0700 Subject: [PATCH] dev-vagrant-docker: Unminimize the minimized Ubuntu cloud image. This restores man pages and other documentation that have been stripped from the default Ubuntu cloud image and installs ubuntu-minimal and ubuntu-standard. Signed-off-by: Anders Kaseorg --- tools/setup/dev-vagrant-docker/Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tools/setup/dev-vagrant-docker/Dockerfile b/tools/setup/dev-vagrant-docker/Dockerfile index abdca6545a..e8d4178f35 100644 --- a/tools/setup/dev-vagrant-docker/Dockerfile +++ b/tools/setup/dev-vagrant-docker/Dockerfile @@ -3,7 +3,13 @@ FROM ubuntu:18.04 # Basic packages and dependencies of docker-systemctl-replacement RUN echo locales locales/default_environment_locale select en_US.UTF-8 | debconf-set-selections \ && echo locales locales/locales_to_be_generated select "en_US.UTF-8 UTF-8" | debconf-set-selections \ - && apt-get update \ + # This restores man pages and other documentation that have been + # stripped from the default Ubuntu cloud image and installs + # ubuntu-minimal and ubuntu-standard. + # + # This makes sense to do because we're using this image as a + # development environment, not a minimal production system. + && printf 'y\n\n' | unminimize \ && apt-get install --no-install-recommends -y \ ca-certificates \ curl \