From 2082cd450e26137a0fa20a16e1911d9eb28a399a Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Mon, 24 Dec 2018 12:48:57 -0800 Subject: [PATCH] Remove Ubuntu's explicit "sources.list" contents These don't really add any value, and are a source of confusion if/when things change (as seen in https://github.com/tianon/docker-brew-ubuntu-core/issues/138). --- ubuntu/content.md | 74 ----------------------------------------------- 1 file changed, 74 deletions(-) diff --git a/ubuntu/content.md b/ubuntu/content.md index 72a775e7d..8d7fd2bbb 100644 --- a/ubuntu/content.md +++ b/ubuntu/content.md @@ -27,77 +27,3 @@ RUN apt-get update && apt-get install -y locales && rm -rf /var/lib/apt/lists/* && localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 ENV LANG en_US.utf8 ``` - -## `/etc/apt/sources.list` - -### `%%IMAGE%%:18.04` - -```console -$ docker run %%IMAGE%%:18.04 grep -v '^#' /etc/apt/sources.list - -deb http://archive.ubuntu.com/ubuntu/ bionic main restricted - -deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted - -deb http://archive.ubuntu.com/ubuntu/ bionic universe -deb-src http://archive.ubuntu.com/ubuntu/ bionic universe -deb http://archive.ubuntu.com/ubuntu/ bionic-updates universe -deb-src http://archive.ubuntu.com/ubuntu/ bionic-updates universe - -deb http://archive.ubuntu.com/ubuntu/ bionic multiverse -deb http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse - -deb http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse - - -deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted -deb http://security.ubuntu.com/ubuntu/ bionic-security universe -deb-src http://security.ubuntu.com/ubuntu/ bionic-security universe -deb http://security.ubuntu.com/ubuntu/ bionic-security multiverse -``` - -### `%%IMAGE%%:16.04` - -```console -$ docker run %%IMAGE%%:16.04 grep -v '^#' /etc/apt/sources.list - -deb http://archive.ubuntu.com/ubuntu/ xenial main restricted -deb-src http://archive.ubuntu.com/ubuntu/ xenial main restricted - -deb http://archive.ubuntu.com/ubuntu/ xenial-updates main restricted -deb-src http://archive.ubuntu.com/ubuntu/ xenial-updates main restricted - -deb http://archive.ubuntu.com/ubuntu/ xenial universe -deb-src http://archive.ubuntu.com/ubuntu/ xenial universe -deb http://archive.ubuntu.com/ubuntu/ xenial-updates universe -deb-src http://archive.ubuntu.com/ubuntu/ xenial-updates universe - - -deb http://archive.ubuntu.com/ubuntu/ xenial-security main restricted -deb-src http://archive.ubuntu.com/ubuntu/ xenial-security main restricted -deb http://archive.ubuntu.com/ubuntu/ xenial-security universe -deb-src http://archive.ubuntu.com/ubuntu/ xenial-security universe -``` - -### `%%IMAGE%%:14.04` - -```console -$ docker run %%IMAGE%%:14.04 grep -v '^#' /etc/apt/sources.list - -deb http://archive.ubuntu.com/ubuntu/ trusty main restricted -deb-src http://archive.ubuntu.com/ubuntu/ trusty main restricted - -deb http://archive.ubuntu.com/ubuntu/ trusty-updates main restricted -deb-src http://archive.ubuntu.com/ubuntu/ trusty-updates main restricted - -deb http://archive.ubuntu.com/ubuntu/ trusty universe -deb-src http://archive.ubuntu.com/ubuntu/ trusty universe -deb http://archive.ubuntu.com/ubuntu/ trusty-updates universe -deb-src http://archive.ubuntu.com/ubuntu/ trusty-updates universe - - -deb http://archive.ubuntu.com/ubuntu/ trusty-security main restricted -deb-src http://archive.ubuntu.com/ubuntu/ trusty-security main restricted -deb http://archive.ubuntu.com/ubuntu/ trusty-security universe -deb-src http://archive.ubuntu.com/ubuntu/ trusty-security universe -```