mirror of
/repos/erlang-docker.git
synced 2025-12-30 08:01:37 +01:00
first attempt
This commit is contained in:
commit
4bbb40e09f
24
Dockerfile
Normal file
24
Dockerfile
Normal file
@ -0,0 +1,24 @@
|
||||
|
||||
# Pull base image
|
||||
FROM aiko/baseimage-pi:0.9.16
|
||||
|
||||
MAINTAINER Aiko Mastboom <docker@aiko.sh>
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y wget libssl-dev ncurses-dev m4
|
||||
|
||||
RUN wget http://www.erlang.org/download/otpsrc17.4.tar.gz \
|
||||
&& tar -xzvf otpsrc17.4.tar.gz
|
||||
|
||||
RUN \
|
||||
&& cd otpsrc17.4/ && ./configure && make \
|
||||
&& make install
|
||||
|
||||
# Clean up APT when done.
|
||||
RUN rm -rf otpsrc17.4 && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
||||
# Define working directory
|
||||
WORKDIR /data
|
||||
|
||||
# Define default command
|
||||
# CMD ["bash"]
|
||||
Loading…
x
Reference in New Issue
Block a user