Alpine Elm Docker

A Dockerfile for creating a minimal alpine docker image for your CI builds I salvaged from a Slack conversation.

FROM alpine
RUN apk add binutils \
  && wget -qO - "" \
  | tar -zxC /usr/local/bin/ && strip /usr/local/bin/elm && apk del binutils

This will result in a docker image that is roughly the size of the Elm binaries we’re packaging - about 40MB(!) as of the time of writing this.

{ mind | state = Blown }