19 lines
354 B
Docker
19 lines
354 B
Docker
|
ARG ELIXIR_VERSION
|
||
|
ARG ELIXIR_SHASUM
|
||
|
ARG ERLANG_VERSION
|
||
|
ARG DISTRO
|
||
|
ARG DISTRO_TAG
|
||
|
ARG PLATFORM
|
||
|
|
||
|
FROM registry.gitlab.com/jimsy/balena-elixir/${PLATFORM}-${DISTRO}-build:${ELIXIR_VERSION}-${DISTRO_TAG} as builder
|
||
|
|
||
|
ARG PLATFORM
|
||
|
|
||
|
FROM balenalib/${PLATFORM}-${DISTRO}:${DISTRO_TAG}
|
||
|
|
||
|
ENV LANG=C.UTF-8
|
||
|
|
||
|
COPY --from=builder /usr/local /usr/local
|
||
|
|
||
|
CMD [ "iex" ]
|