Wykres commitów

64 Commity (32c10d72c986b18185344a51e1852dbf298f96f3)

Autor SHA1 Wiadomość Data
jo efbdc027ab
fix: use versioned python3 instead of python 2023-01-13 16:55:05 +01:00
Georg Krause 62653a2f62 chore: Move database url composition from custom script to django settings
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2313>
2023-01-12 18:23:50 +00:00
jo 165011ff6d
feat: improve docker caching
The apk dependencies will change less often than the venv from the builder.
2023-01-12 13:35:23 +01:00
jo e93e6bbb74
style: sort apk dependencies in docker 2023-01-12 13:35:22 +01:00
jo 0e05587fed
style: readability for docker pip dependencies install 2023-01-12 13:35:22 +01:00
jo 0b4319656a
feat: install api python package inside docker
This mainly allow users to use the `funkwhale-manage` entrypoint.
2023-01-12 13:35:22 +01:00
jo 64f54fa709
feat: disable pip cache during docker build 2023-01-12 13:35:21 +01:00
jo 85d4bd60d9
feat: don't buffer stdout/err in docker
This makes sure we don't loose any logs that might have been buffered and haven't been written to the docker logs.
2023-01-12 13:35:21 +01:00
jo 44904d80be
feat: don't compile python byte code in docker 2023-01-12 13:35:21 +01:00
jo 5c0284e3b1 fix: remove permissions workaround in api container
The permissions in the CI are now the same as in the repository.

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2298>
2023-01-04 07:29:24 +00:00
Georg Krause 36e3d33174
chore(api): Bump lxml version to 4.9.2 2022-12-19 16:23:10 +01:00
JuniorJPDJ 0c6cc0ec5b chore(api/Dockerfile): pin alpine dependencies and bump watchfiles 2022-11-23 10:43:06 +00:00
JuniorJPDJ c458bfe547 fix(api/Dockerfile): use psycopg2 from alpine repository 2022-11-22 22:49:30 +01:00
RenovateBot abfa971eb5 Update alpine Docker tag to v3.17 (develop) 2022-11-17 15:30:41 +00:00
JuniorJPDJ c4367466bc fix(api/Dockerfile): remove autobahn dependency pin after upgrading cryptography 2022-11-09 18:58:58 +00:00
Jacek Pruciak 90d878a340 fix(api/Dockerfile): fix a typo in pip package name 2022-11-03 13:01:53 +01:00
Jacek Pruciak 46fdf6d167 fix: armv7 builds by downgrading uvicorn and pinning watchgod 2022-11-01 19:33:56 +00:00
Jacek Pruciak 0168632ad9 fix(api/Dockerfile): bump cryptography to 3.4.8 2022-10-30 14:24:52 +01:00
JuniorJPDJ aad853f6b0 refactor(api/Dockerfile): move var default values to Dockerfile 2022-07-25 20:59:30 +00:00
JuniorJPDJ 96c2eacb0f Cleanup Gitlab CI and Dockerfiles 2022-07-11 20:20:16 +00:00
Georg Krause 935270684e
Add libldap to docker image 2022-06-20 22:56:28 +02:00
Georg Krause be02ebfb52
Install poetry from alpine repositories 2022-06-11 23:57:17 +02:00
RenovateBot e8b41fd06f Update dependency alpine to v3.16 (develop) 2022-06-11 21:05:46 +00:00
Georg Krause 0f397f0e60
Do not install pip as system package to avoid dependency clash 2022-03-02 10:52:54 +01:00
Georg Krause db7fc7818d
Install poetry only in additional docker stage to export dependencies 2022-03-01 19:59:17 +01:00
Georg Krause a3408d7625
Install missing pip in docker 2022-03-01 15:06:48 +01:00
Georg Krause b572c1f95a
Install poetry using pip instead of script 2022-03-01 13:48:10 +01:00
Georg Krause fb5fe48364
Use same alpine version for Build and Final 2022-01-30 23:47:09 +01:00
Georg Krause c582ac978d
Switch to alpine 3.14 to prevent openldap issues 2022-01-30 20:52:45 +01:00
JuniorJPDJ 6ab4ca7c19 Pin autobahn to 21.2.1 2022-01-30 13:06:11 +01:00
JuniorJPDJ f50be59a3d Fix autobahn pinning for docker installs 2022-01-30 12:04:11 +01:00
Georg Krause 0c6caceb37
Pin autobahn for docker installs to get around dependency clash 2022-01-30 10:40:06 +01:00
Renovate Bot edfeffffa9 Update alpine Docker tag to v3.15 2022-01-29 19:17:47 +00:00
Georg Krause 9ed3c8ee15
Fix syntax error 2022-01-19 15:16:03 +01:00
Georg Krause cc73485895
Install poetry using the official installer 2022-01-19 15:15:50 +01:00
Georg Krause 5bb28c5264 Add comments for better understanding 2022-01-19 08:53:47 +00:00
Georg Krause 7068cb48e2 Build docker image with poetry managed dependencies 2022-01-19 08:53:47 +00:00
JuniorJPDJ f1e86e4cae Fix docker pinned dependency 2021-12-13 21:21:20 +01:00
JuniorJPDJ f5cc8a09b0 Pin docker cryptography dependency to alpine's version 2021-12-13 21:18:14 +01:00
Georg Krause 0217b5a7a4
Try to avoid build of cryptography for docker 2021-12-13 20:32:05 +01:00
JuniorJPDJ 4b95924970 Allow running docker container as non-root (quick fix) 2021-09-20 12:43:30 +02:00
JuniorJPDJ 9a3cf4e1dd Allow running docker container as non-root 2021-09-20 07:30:22 +00:00
Georg Krause b5fca7c1c9 Update PyLD to version 2.0 2021-06-30 15:41:12 +00:00
Georg Krause 1ef252e29d Implement several pipeline improvements
* Build docker image to run tests in
* Collect backend coverage reports
* Update dependencies
2021-05-28 09:39:27 +00:00
Renon df62cb8f15 Remove build dependencies to lighten docker image 2020-03-09 17:04:06 +01:00
Eliot Berriot 14d5b0c69c
Revert to apline:3.11 to stay on Python 3.7 (3.8 has issues with channels) 2020-02-18 15:20:15 +01:00
Eliot Berriot c116fa21c9
Fixed docker dependency issues 2020-02-04 11:43:08 +01:00
techknowlogick 459e66db30 Add deps for pillow in docker image 2020-02-02 09:43:54 +01:00
techknowlogick db9cd08e7a Update Dockerfile to use Alpine 3.11
Reduce size of image by using --no-cache
2020-02-01 10:35:02 +01:00
Eliot Berriot e24c1f2330
Added missing make to Dockerfile 2019-06-19 10:54:45 +02:00