Public Repository

Last pushed: a month ago
Short Description
Elixir, Erlang dev libs, hex, and rebar on top of the official Erlang alpine image.
Full Description

Dockerfile

FROM erlang:21.0-alpine

LABEL description="Elixir, Erlang dev libs, hex, and rebar on top of the official Erlang alpine image."

ENV ELIXIR_VERSION="v1.6.6" \
    LANG=C.UTF-8

RUN set -xe \
    && ELIXIR_DOWNLOAD_URL="https://github.com/elixir-lang/elixir/releases/download/${ELIXIR_VERSION}/Precompiled.zip" \
    && buildDeps=' \
        ca-certificates \
        curl \
        unzip \
    ' \
    && apk add --no-cache --virtual .build-deps $buildDeps \
    && curl -fSL -o elixir-precompiled.zip $ELIXIR_DOWNLOAD_URL \
    && unzip -d /usr/local elixir-precompiled.zip \
    && rm elixir-precompiled.zip \
    && apk del .build-deps

RUN apk --update add build-base erlang-crypto erlang-syntax-tools erlang-parsetools erlang-inets erlang-ssl erlang-public-key erlang-eunit \
        erlang-asn1 erlang-sasl erlang-erl-interface erlang-dev wget git && \
        rm -rf /var/cache/apk/*

RUN mix local.hex --force \
    && mix local.rebar --force

CMD ["iex"]
Docker Pull Command
Owner
mbgardner