I'm running through the distillery guide with Docker for the first time. It says here:
# This should match the version of Alpine that the `elixir:1.7.2-alpine` image uses
ARG ALPINE_VERSION=3.8
FROM elixir:1.7.2-alpine AS builder
How do I determine which version of Alpine elixir:1.7.2-alpine uses? How can I tell on this page? (Can you?) If I get a version mismatch, it throws this error:
Unusable Erlang runtime system! This is likely due to being compiled for another system than the host is running
Trying this for Elixir 1.13.4 by the way.
CodePudding user response:
Click TAGS, you can find the different versions, and This one are you looking for
CodePudding user response:
I recommend that you use the hexpm images, which unlike the "official" images list in the tag name the precise OS, Erlang, and Elixir versions used, and do not retroactively update the same tags underlying OS/Erlang versions.
There is an open PR to add this advice to the readme for the official docker image.