mirror of
/repos/elixir-docker.git
synced 2025-12-30 08:01:36 +01:00
23 lines
601 B
Docker
23 lines
601 B
Docker
|
|
# Pull base image
|
|
FROM aiko/erlang-docker-pi:18.1
|
|
|
|
MAINTAINER Aiko Mastboom <docker@aiko.sh>
|
|
|
|
RUN apt-get update \
|
|
&& apt-get upgrade -y -o Dpkg::Options::="--force-confold" \
|
|
&& apt-get install -y unzip \
|
|
&& curl -LO https://github.com/elixir-lang/elixir/releases/download/v1.1.1/Precompiled.zip \
|
|
&& cd /usr && unzip /Precompiled.zip \
|
|
&& cd - \
|
|
&& rm -rf /Precompiled.zip \
|
|
&& apt-get remove -y unzip \
|
|
&& apt-get autoremove -y \
|
|
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
|
|
|
# Define working directory
|
|
WORKDIR /data
|
|
|
|
# Define default command
|
|
# CMD ["bash"]
|