Skip to content

Update to Debian Stretch (slim) #437

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 23, 2018

Conversation

tianon
Copy link
Member

@tianon tianon commented Apr 23, 2018

No description provided.

@tianon
Copy link
Member Author

tianon commented Apr 23, 2018

For size comparison, postgres:10 goes from ~288MB down to ~234MB.

@tianon
Copy link
Member Author

tianon commented Apr 23, 2018

postgres:9.3 goes from ~262MB to ~230MB

@tianon tianon merged commit 5876d4b into docker-library:master Apr 23, 2018
@tianon tianon deleted the stretch-slim branch April 23, 2018 23:16
tianon added a commit to infosiftr/stackbrew that referenced this pull request Apr 26, 2018
- `cassandra`: better IP detection (docker-library/cassandra#146)
- `docker`: 18.03.1-ce, 18.05.0-ce-rc1
- `drupal`: 8.5.3, 8.4.8, 7.59
- `ghost`: 1.22.4
- `haproxy`: better Lua install, stretch, Alpine 3.7 (docker-library/haproxy#63)
- `mariadb`: `5.5.60+maria-1~wheezy`
- `matomo`: `latest`
- `mongo`: 3.7.7
- `openjdk`: windows ojdkbuild 1.8.0.171-1
- `percona`: `5.7.21-21-3.jessie`
- `php`: 7.2.5, 7.0.30
- `piwik`: `latest`
- `postgres`: Debian Stretch (docker-library/postgres#437), Alpine 3.7 (docker-library/postgres#436)
- `pypy`: pip 10.0.1 (docker-library/pypy#22)
- `python`: fix Windows build via TLS 1.2 (docker-library/python#279), Python 2 `PYTHONIOENCODING=UTF-8` (docker-library/python#278)
@nathanhruby
Copy link

Hi,

Was this change announced anyplace? We depend on python being in the container as we delegate some ansible tasks to the postgres container which broke with the change to -slim since python isn't there. I'd like to be more informed of these kind of changes in advance of my users discovering them.

-n

@tianon
Copy link
Member Author

tianon commented May 11, 2018

It was announced in the only places any changes to the official images are -- here in this repository, and over in the https://github.com/docker-library/official-images repository (which is where all official image updates funnel through).

As noted on the image description on Docker Hub, you probably want to follow PRs in the library/postgres label (https://github.com/docker-library/official-images/pulls?utf8=%E2%9C%93&q=is%3Apr+label%3Alibrary%2Fpostgres) there to monitor changes to the image.

As for your specific use case, I'd recommend installing things you need in the image explicitly in your own derivative image, something like:

FROM postgres:10
RUN apt-get update && apt-get install -y python && rm -rf /var/lib/apt/lists/*

(Which you've probably already done, but including it here for completeness.)

@nathanhruby
Copy link

Yeah, we're going to make some downstream images, this just bit folks today and was a head scratcher. We didn't expect the underlying install set / distro to change on an existing label, but that's our expectation issue to handle. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants