Skip to content
Snippets Groups Projects
Commit 2f009e9a authored by David Trattnig's avatar David Trattnig
Browse files

Add OPAM init.

parent 8461ab73
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,8 @@ before_script:
- apt-get install -y python3-virtualenv virtualenv supervisor redis-server redis-tools libev4 libev-dev libsndfile1 quelcom # mariadb-server libmariadbclient-dev
- /usr/bin/virtualenv venv
- . venv/bin/activate
- opam init -y
- opam switch create 4.08.0
- python3 -V
- pip3 install -r requirements.txt
- mkdir /etc/aura
......
......@@ -20,6 +20,8 @@ COPY script/install-opam-packages.sh /tmp/install-opam-packages.sh
COPY script/install-web.sh tmp/install-web.sh
COPY requirements.txt /tmp/requirements.txt
RUN opam init -y
RUN opam switch create 4.08.0
RUN bash tmp/install-opam-packages.sh
RUN bash tmp/install-web.sh
RUN pip3 install -r /tmp/requirements.txt
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment