docker: fix Dockerfile following repositories redirections

This commit is contained in:
Goffi 2021-08-02 21:47:16 +02:00
commit 4348af32f2
3 changed files with 4 additions and 4 deletions

View file

@ -37,10 +37,10 @@ RUN python3 -m venv libervia_env && libervia_env/bin/pip install -U pip wheel &&
hg clone https://repos.goffi.org/sat_tmp && ~/libervia_env/bin/pip install -e sat_tmp && \
mv sat_tmp/sat_tmp.egg-info ~/libervia_env/lib/python3.*/site-packages && \
hg clone https://repos.goffi.org/sat_templates && ~/libervia_env/bin/pip install -e sat_templates && \
mv sat_templates/sat_templates.egg-info ~/libervia_env/lib/python3.*/site-packages && \
mv sat_templates/libervia_templates.egg-info ~/libervia_env/lib/python3.*/site-packages && \
hg clone https://repos.goffi.org/sat_media && \
hg clone https://repos.goffi.org/sat && ~/libervia_env/bin/pip install -e 'sat[SVG]' && \
mv sat/sat.egg-info ~/libervia_env/lib/python3.*/site-packages
mv sat/libervia_backend.egg-info ~/libervia_env/lib/python3.*/site-packages
ENV DBUS_SESSION_BUS_ADDRESS=tcp:host=backend,port=55555,family=ipv4
ENV PATH=/home/libervia/libervia_env/bin:$PATH

View file

@ -11,7 +11,7 @@ WORKDIR /home/libervia
USER libervia
RUN cd /src && hg clone https://repos.goffi.org/libervia && \
~/libervia_env/bin/pip install -e libervia && \
mv libervia/libervia.egg-info ~/libervia_env/lib/python3.*/site-packages
mv libervia/libervia_web.egg-info ~/libervia_env/lib/python3.*/site-packages
RUN ./entrypoint.sh \
# we build here to avoid re-downloading node modules or other browser

View file

@ -29,6 +29,6 @@ RUN python3 -m venv libervia_env && libervia_env/bin/pip install -U pip wheel &&
hg clone https://repos.goffi.org/sat_tmp && ~/libervia_env/bin/pip install -e sat_tmp && \
mv sat_tmp/sat_tmp.egg-info ~/libervia_env/lib/python3.*/site-packages && \
hg clone https://repos.goffi.org/sat_pubsub && ~/libervia_env/bin/pip install -e sat_pubsub && \
mv sat_pubsub/sat_pubsub.egg-info ~/libervia_env/lib/python3.*/site-packages
mv sat_pubsub/libervia_pubsub.egg-info ~/libervia_env/lib/python3.*/site-packages
ENTRYPOINT ["/home/libervia/entrypoint.sh"]