Dockerfile: set environment variable $ELIXIR_ROOT
Set env variable $ELIXIR_ROOT inside the Dockerfile. That is used by utils/index-all-repositories to know where to put repo/data directories. With that adjustment the docker setup is working as indicated in the README. Fix the following error: $ docker exec -it -e PYTHONUNBUFFERED=1 elixir-container /bin/bash -c \ 'export "PATH=/usr/local/elixir/venv/bin:$PATH" ; /usr/local/elixir/utils/index-all-repositories' Error: ELIXIR_ROOT environment variable not set It's where Elixir data are stored
This commit is contained in:
parent
5fe2a8eef1
commit
1a761e98d3
1 changed files with 2 additions and 0 deletions
|
|
@ -54,4 +54,6 @@ EXPOSE 80
|
||||||
ARG ELIXIR_VERSION
|
ARG ELIXIR_VERSION
|
||||||
ENV ELIXIR_VERSION=$ELIXIR_VERSION
|
ENV ELIXIR_VERSION=$ELIXIR_VERSION
|
||||||
|
|
||||||
|
ENV ELIXIR_ROOT=/srv/elixir-data
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/sbin/apache2ctl", "-D", "FOREGROUND"]
|
ENTRYPOINT ["/usr/sbin/apache2ctl", "-D", "FOREGROUND"]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue