add myoffice scripts

This commit is contained in:
aleksandr.vodyanov
2024-04-09 10:19:48 +03:00
parent 6596117571
commit 9f2c40e688
28 changed files with 1310 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
FROM python:3.10-alpine
WORKDIR /srv/hyperus_apps/pgs_sync
COPY group_sync_pgs.py ./
RUN python3 -m venv venv && \
source venv/bin/activate && \
pip install \
python-freeipa==1.0.6 \
requests
CMD ["/bin/sh", "-c", "source venv/bin/activate; python ./group_sync_pgs.py"]