add docker environment

This commit is contained in:
2020-01-20 15:58:04 +01:00
parent bcd17e1038
commit 3a9243bfb8
7 changed files with 117 additions and 20 deletions

View File

@ -13,7 +13,7 @@ RUN apt-get update && apt-get install -y \
&& apt-get clean
RUN git clone --branch develop ${TIRAMISU_REPO_URL} /srv/src/tiramisu
RUN git clone --branch develop ${RISOTTO_REPO_URL} /srv/src/risotto
RUN git clone --branch docker ${RISOTTO_REPO_URL} /srv/src/risotto
RUN git clone --branch master ${ROUGAIL_REPO_URL} /srv/src/rougail
RUN ln -s /srv/src/tiramisu/tiramisu /usr/local/lib/python3.7
@ -21,9 +21,9 @@ RUN ln -s /srv/src/rougail/src/rougail /usr/local/lib/python3.7
RUN ln -s /srv/src/risotto/src/risotto /usr/local/lib/python3.7
RUN pip install Cheetah3
RUN cd /srv/src/risotto && pip install -r requirements.txt
RUN cd /srv/src/risotto && pip install -r requirements.txt
# Installation
RUN cp -r /srv/src/risotto/messages/ /usr/local/lib/
RUN cp -r /srv/src/risotto/messages/ /usr/local/lib/
RUN mkdir -p /var/cache/risotto/servermodel
RUN mkdir /srv/src/risotto/database
RUN mkdir -p /var/cache/risotto/database