diff --git a/Dockerfile b/Dockerfile index 1c3a9e9..162d8c5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,25 +40,6 @@ RUN git clone ${GITEA_URL}/CmdForge.git CmdForge && \ git clone ${GITEA_URL}/orchestrated-discussions.git orchestrated-discussions && \ git clone ${GITEA_URL}/development-hub.git development-hub -# Apply patches for PySide6 unification (until changes are pushed to Gitea) -# Patch pyproject.toml files -RUN sed -i 's|PyQt6|PySide6|g' /workspace/development-hub/pyproject.toml && \ - sed -i 's|file:///home/rob/PycharmProjects|file:///workspace|g' /workspace/development-hub/pyproject.toml && \ - sed -i 's|PyQt6|PySide6|g' /workspace/artifact-editor/pyproject.toml - -# Patch source files: PyQt6 -> PySide6 -RUN find /workspace/development-hub/src -name "*.py" -exec sed -i \ - -e 's/from PyQt6/from PySide6/g' \ - -e 's/import PyQt6/import PySide6/g' \ - -e 's/pyqtSignal/Signal/g' \ - -e 's/pyqtSlot/Slot/g' {} \; - -RUN find /workspace/artifact-editor/src -name "*.py" -exec sed -i \ - -e 's/from PyQt6/from PySide6/g' \ - -e 's/import PyQt6/import PySide6/g' \ - -e 's/pyqtSignal/Signal/g' \ - -e 's/pyqtSlot/Slot/g' {} \; - # Create venv and install RUN python -m venv /venv ENV PATH="/venv/bin:$PATH"