This repository has been archived on 2024-02-13. You can view files and clone it, but cannot push or open issues or pull requests.
balena-elixir/Dockerfile.run

19 lines
354 B
Docker
Raw Normal View History

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" ]