Sign inSign up

appunite/docker-elixir

By appunite

Updated over 9 years ago

Elixir repo

Image
0

1.0K

appunite/docker-elixir repository overview

About this Repo

Docker Stars Docker Pulls Image Layers

Build Status

This is for elixir latest stable image and next -dev image.

REPOSITORY TAG           IMAGE ID            CREATED             SIZE
elixir     1.5.0-dev     590c7a67a318        2 minutes ago       765.3 MB
elixir     1.4.0-rc.0    590c7a67a318        2 minutes ago       765.3 MB
elixir     1.3           9e04e73b74d4        16 minutes ago      766.4 MB
elixir     1.3-slim      7d901dfc3a5e        15 minutes ago      293.9 MB
elixir     1.2           5165c41f0185        6 days ago          773.8 MB
➸ docker run -it --rm elixir:v1.5.0-dev
Erlang/OTP 19 [erts-8.0] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false]

Interactive Elixir (1.5.0-dev) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> System.version
"1.5.0-dev"
iex(2)> OptionParser.parse(["--verbose", "-v", "-v"], switches: [verbose: :count], aliases: [v: :verbose])
{[verbose: 3], [], []}
iex(3)> OptionParser.parse(["-f", "-43"], strict: [flag: :integer], aliases: [f: :flag])
{[flag: -43], [], []}

How to get the latest elixir

All the elixir's upstream stable versions are pushed over docker official hub (https://hub.docker.com/_/elixir/), while the latest development version is not; Like this 1.5.0-dev image, if you want to get the latest bleeding edge elixir code from master branch, you may get its git commit id (https://github.com/elixir-lang/elixir/) and sha256, modify the 1.5/Dockerfile locally and build it:

$ docker build -t elixir:1.5.0-dev ./1.5
[...]

Tag summary

Content type

Image

Digest

Size

291.8 MB

Last updated

almost 10 years ago

docker pull appunite/docker-elixir