Commit graph libervia-backend/docker/backend-dev
Author SHA1 Message Date
Goffi
f0a0575f68 docker (backend-dev): move dbus unix socket:
there seem to be a regression with Docker: the volume is not propagated anymore with
pre-existing files when a unix socket is inside.

This is the case in `backend-dev` with the D-Bus unix socket put in
`/home/libervia/.local/share/libervia/dbus_socket`, when the volume is mounted at
`/home/libervia/.local/share/libervia/`, resulting in hard to debug failures.

To work around that, the socket is not put in the volume mount point anymore, and has been
moved to `/home/libervia/.local/share/`
2022-05-13 19:21:17 +02:00
Goffi
0f5e74efb6 docker (backend-dev/libervia.conf): don't force CLI background anymore:
CLI background autodetection has been fixed and should not crash anymore, thus this
workaround is not needed anymore.
2022-05-13 19:16:56 +02:00
Goffi
a8cadf7fc3 docker: don't move .egg_info files anymore:
moving `.egg_info` cause trouble, and doesn't seem necessary anymore.
2022-01-31 18:35:52 +01:00
Goffi
0ba1709bb5 docker: use @ instead of tip for dev images:
`tip` links to most recent commit which may be on an other bookmark than the main one.
By using `@`, we're sure that the main bookmark is used.
2021-10-20 17:23:22 +02:00
Goffi
22bc31ca4b docker: set DBUS_SESSION_BUS_ADDRESS so that it uses remote TCP with local fallback:
When connecting to Docker service, first the `backend` container will be tried with TCP,
then an Unix Socket will be used as fallback.
The Unix Socket is put in Libervia local dir which is a volume shared between containers.
This way D-Bus can be used with a remote backend, or the backend can be run locally
(notably during build when accounts creation or other settings must be done via Libervia
CLI).
2021-09-08 11:16:00 +02:00
Goffi
317cbb59e8 docker: fixes following global renaming 2021-09-08 11:15:54 +02:00
Goffi
a446d91c93 docker: Libervia revision can now be specified:
Using the `DOCKER_LIBERVIA_REV` environment variable, backend (and related repos) revision
can now be specified. By default (variable empty or not set), the current `tip` version is
used, and `dev` is used for tagging. If the variable is set, the revision will be used and
used for tagging the image.
2021-09-08 11:14:17 +02:00
Goffi
4348af32f2 docker: fix Dockerfile following repositories redirections 2021-08-02 21:47:16 +02:00
Goffi
363788de7d docker: update following name changes:
`backend_e2e` now print properly backend logs
2021-04-16 18:32:16 +02:00