# Imagem Docker inclui repositório "restricted" (não livre) do Ubuntu desnecessário

**URL:** <https://meta.discourse.org/t/docker-image-includes-unneeded-ubuntu-restricted-non-free-repo/88931>\
**Category:** Development\
**Created:** [1 Junho , 2018 16:08 UTC](https://meta.discourse.org/t/docker-image-includes-unneeded-ubuntu-restricted-non-free-repo/88931 "2018-06-01T16:08:57Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [1 Junho , 2018 16:45 UTC](https://meta.discourse.org/t/docker-image-includes-unneeded-ubuntu-restricted-non-free-repo/88931/2 "2018-06-01T16:45:48Z")

</div>

I believe this come from our upstream docker image, at this line

> <https://github.com/discourse/discourse_docker/blob/master/image/base/Dockerfile#L3>

That line points to the official Ubuntu image from the Docker library which has this line:

> <https://github.com/tianon/docker-brew-ubuntu-core/blob/dist-amd64/xenial/Dockerfile#L2>

where it adds [this archive](https://github.com/tianon/docker-brew-ubuntu-core/blob/dist-amd64/xenial/ubuntu-xenial-core-cloudimg-amd64-root.tar.gz) that contains the restricted lines you found.

I don’t know if there is an official Ubuntu docker image with those disabled.

---

_[View the full topic](https://meta.discourse.org/t/docker-image-includes-unneeded-ubuntu-restricted-non-free-repo/88931)._
