File tree Expand file tree Collapse file tree 2 files changed +26
-4
lines changed
Expand file tree Collapse file tree 2 files changed +26
-4
lines changed Original file line number Diff line number Diff line change 1+ .eunit
2+ * .o
3+ * .beam
4+ * .plt
5+ erl_crash.dump
6+ _build /
7+ log /
8+ tmp /
9+ rebar3
10+ .cache /
11+ .pytest_cache /
12+ rebar.lock
13+ _checkouts * /
14+ __pycache__ /
15+
16+ deps /
17+ ierl
18+ mix.lock
Original file line number Diff line number Diff line change 1- FROM jupyter/minimal-notebook:59904dd7776a
1+ FROM jupyter/minimal-notebook:e7000ca1416d
22
33USER root
44
@@ -14,18 +14,22 @@ RUN apt-get update && \
1414 mix local.hex --force && \
1515 mix local.rebar --force
1616
17+ COPY / ierl_repo
18+ RUN chown $NB_USER -R ierl_repo
19+
1720USER $NB_USER
1821
19- # Erlang, LFE and Elixir
20- RUN git clone --depth 1 https://github.com/filmor/ierl.git && \
22+ RUN git clone ierl_repo ierl && \
2123 cd ierl && \
2224 mkdir /home/$NB_USER/.ierl && \
2325 mix deps.get && \
26+ # Build lfe explicitly for now
27+ (cd deps/lfe && ~/.mix/rebar3 compile) && \
2428 env MIX_ENV=prod mix escript.build && \
2529 cp ierl /home/$NB_USER/.ierl/ierl.escript && \
2630 chmod +x /home/$NB_USER/.ierl/ierl.escript && \
2731 /home/$NB_USER/.ierl/ierl.escript install erlang --user && \
2832 /home/$NB_USER/.ierl/ierl.escript install lfe --user && \
2933 /home/$NB_USER/.ierl/ierl.escript install elixir --user && \
3034 cd .. && \
31- rm -rf ierl
35+ rm -rf ierl ierl_repo
You can’t perform that action at this time.
0 commit comments