Skip to content
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

Add -buster tags to each image variant #128

Open
nickjj opened this issue Jan 6, 2020 · 1 comment
Open

Add -buster tags to each image variant #128

nickjj opened this issue Jan 6, 2020 · 1 comment

Comments

@nickjj
Copy link

nickjj commented Jan 6, 2020

A lot of other programming runtimes like Python, Ruby and Node explicitly have -buster tags in the list of tags that appear on the Docker Hub.

I think Elixir should too.

Currently you have image tags like elixir:1.9-slim but it's beneficial to have elixir:1.9-slim-buster because now at a glance we can see the underlying image is using Buster.

At the time of making this comment, it is using Buster under the hood because Buster is the latest stable release of Debian but for a while it was Stretch and now as an end user we don't know which one is being used unless we look at the Dockerfile and trace through the base image chain until eventually arriving at the Erlang image.

@jayjun
Copy link

jayjun commented Mar 4, 2020

When I bump

FROM elixir:1.9.2-slim AS build
...
FROM erlang:22-slim AS app

to elixir:1.10.1-slim, my containers fail with

/app/erts-10.6.4/bin/beam.smp: error while loading shared libraries: libtinfo.so.6: cannot open shared object file: No such file or directory

Both images are based on erlang:22-slim. However, my app was built on erlang:22.2-slim (Buster) then ran on erlang:22.1-slim (Stretch) cached earlier.

-buster-slim avoids this but the bigger problem is mutable tags.

Every Elixir image is built off an exact Erlang version anyway. Why not make it explicit with FROM erlang:22.2.8-slim? That way we know which Erlang image to run releases on.

Related erlang/docker-erlang-otp@966a8b9.

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

No branches or pull requests

2 participants