mirror of
/repos/elixir-docker.git
synced 2026-02-26 17:32:07 +01:00
all in one layer
This commit is contained in:
22
Dockerfile
Normal file
22
Dockerfile
Normal file
@@ -0,0 +1,22 @@
|
||||
|
||||
# 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"]
|
||||
Reference in New Issue
Block a user