nonamorando
nonamorando

Reputation: 1605

How do I determine which version of Alpine this Elixir image uses?

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.

Upvotes: 0

Views: 398

Answers (2)

Adam Millerchip
Adam Millerchip

Reputation: 23129

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.

Upvotes: 1

Kevin wang
Kevin wang

Reputation: 55

Click TAGS, you can find the different versions, and This one are you looking for

Upvotes: 0

Related Questions