Skip to content

Conversation

tianon
Copy link
Member

@tianon tianon commented Jun 16, 2017

The erlang-solutions repository was used back in 2015 (#9) to get us a newer version of Erlang on our then Wheezy-based image -- now that Stretch is stable and ready, we can get 19.x directly from Debian, and thus get multiarchitecture builds as well without additional effort (since the rabbitmq-server package is arch:all).

@@ -1,10 +1,18 @@
FROM debian:jessie
FROM debian:stretch-slim
Copy link
Member Author

@tianon tianon Jun 16, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Switching to stretch-slim saves us ~50MB! (from ~177MB down to ~124MB)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@michaelklishin
Copy link
Collaborator

michaelklishin commented Jun 19, 2017

One other side effect of this is: Erlang Solutions repository currently installs an unsupported (by released RabbitMQ versions) version which isn't even GA yet (OTP 20-rc2) :/. Not using their repo will make this a non-problem.

The erlang-solutions repository was used back in 2015 to get us a newer version of Erlang on our then Wheezy-based image -- now that Stretch is stable and ready, we can get 19.x directly from Debian, and thus get multiarchitecture builds as well without additional effort (since the `rabbitmq-server` package is `arch:all`).
@tianon
Copy link
Member Author

tianon commented Jun 19, 2017

@michaelklishin oh good catch -- all the more reason to get off that! 😇

@tianon tianon merged commit 2a73673 into docker-library:master Jun 19, 2017
@tianon tianon deleted the stretch-alpine branch June 19, 2017 16:22
tianon added a commit to infosiftr/stackbrew that referenced this pull request Jun 19, 2017
- `haproxy`: 1.6.13
- `irssi`: Alpine 3.6 (docker-library/irssi#16), multiarch (docker-library/irssi#15)
- `python`: 3.6.2rc1
- `rabbitmq`: Debian Stretch and Alpine 3.6 (docker-library/rabbitmq#166), multiarch (docker-library/rabbitmq#167)
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.

3 participants