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).
This commit is contained in:
parent
c35e6aa062
commit
2082cd450e
|
|
@ -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
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in New Issue