Mercurial > libervia-backend
comparison docker/backend-dev/Dockerfile @ 3730:43cc8c27adc7
docker: don't move `.egg_info` files anymore:
moving `.egg_info` cause trouble, and doesn't seem necessary anymore.
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 31 Jan 2022 18:35:52 +0100 |
parents | 1680eec4cbfd |
children | fd3fe346a14a |
comparison
equal
deleted
inserted
replaced
3729:86eea17cafa7 | 3730:43cc8c27adc7 |
---|---|
33 RUN python3 -m venv libervia_env && libervia_env/bin/pip install -U pip wheel && cd /src && \ | 33 RUN python3 -m venv libervia_env && libervia_env/bin/pip install -U pip wheel && cd /src && \ |
34 # We install thoses packages in editable mode, so we can replace them easily with volumes. | 34 # We install thoses packages in editable mode, so we can replace them easily with volumes. |
35 # We need to move *.egg-info (generated by pip) out of src dirs, otherwise mounting | 35 # We need to move *.egg-info (generated by pip) out of src dirs, otherwise mounting |
36 # local repos without it them cause troubles | 36 # local repos without it them cause troubles |
37 hg clone https://repos.goffi.org/urwid-satext && ~/libervia_env/bin/pip install -e urwid-satext && \ | 37 hg clone https://repos.goffi.org/urwid-satext && ~/libervia_env/bin/pip install -e urwid-satext && \ |
38 mv urwid-satext/urwid_satext.egg-info ~/libervia_env/lib/python3.*/site-packages && \ | |
39 hg clone https://repos.goffi.org/sat_tmp -u "${REVISION:-@}" && ~/libervia_env/bin/pip install -e sat_tmp && \ | 38 hg clone https://repos.goffi.org/sat_tmp -u "${REVISION:-@}" && ~/libervia_env/bin/pip install -e sat_tmp && \ |
40 mv sat_tmp/sat_tmp.egg-info ~/libervia_env/lib/python3.*/site-packages && \ | |
41 hg clone https://repos.goffi.org/libervia-templates && ~/libervia_env/bin/pip install -e libervia-templates && \ | 39 hg clone https://repos.goffi.org/libervia-templates && ~/libervia_env/bin/pip install -e libervia-templates && \ |
42 mv libervia-templates/libervia_templates.egg-info ~/libervia_env/lib/python3.*/site-packages && \ | |
43 hg clone https://repos.goffi.org/libervia-media && \ | 40 hg clone https://repos.goffi.org/libervia-media && \ |
44 hg clone https://repos.goffi.org/libervia-backend -u "${REVISION:-@}" && ~/libervia_env/bin/pip install -e 'libervia-backend[SVG]' && \ | 41 hg clone https://repos.goffi.org/libervia-backend -u "${REVISION:-@}" && ~/libervia_env/bin/pip install -e 'libervia-backend[SVG]' && \ |
45 mv libervia-backend/libervia_backend.egg-info ~/libervia_env/lib/python3.*/site-packages && \ | |
46 mkdir -p /home/libervia/.local/share/libervia | 42 mkdir -p /home/libervia/.local/share/libervia |
47 | 43 |
48 ENV DBUS_SESSION_BUS_ADDRESS="tcp:host=backend,port=55555,family=ipv4;unix:path=/home/libervia/.local/share/libervia/dbus_socket" | 44 ENV DBUS_SESSION_BUS_ADDRESS="tcp:host=backend,port=55555,family=ipv4;unix:path=/home/libervia/.local/share/libervia/dbus_socket" |
49 ENV PATH=/home/libervia/libervia_env/bin:$PATH | 45 ENV PATH=/home/libervia/libervia_env/bin:$PATH |
50 | 46 |