| FROM ubuntu:22.04 |
|
|
| |
| ENV DEBIAN_FRONTEND=noninteractive |
|
|
| |
| RUN apt-get update && apt-get install -y \ |
| openshot-qt \ |
| python3-pyqt5 \ |
| python3-pip \ |
| libx11-6 \ |
| libxrender1 \ |
| libgl1-mesa-glx \ |
| libpulse0 \ |
| xvfb \ |
| libx11-xcb1 \ |
| libxcb1 \ |
| libxcomposite1 \ |
| libxcursor1 \ |
| libxdamage1 \ |
| libxext6 \ |
| libxfixes3 \ |
| libxi6 \ |
| libxrandr2 \ |
| libxss1 \ |
| libxtst6 \ |
| libxcb-xinerama0 \ |
| libxcb-xinput0 \ |
| libxcb-keysyms1 \ |
| libxcb-cursor0 \ |
| libxcb-util1 \ |
| libxkbcommon-x11-0 \ |
| && rm -rf /var/lib/apt/lists/* |
|
|
| |
| RUN useradd -m -s /bin/bash openshotuser && \ |
| chown -R openshotuser:openshotuser /home/openshotuser |
|
|
| |
| USER openshotuser |
|
|
| |
| ENV HOME=/home/openshotuser |
|
|
| |
| RUN mkdir -p /home/openshotuser/.openshot_qt && \ |
| chmod -R 755 /home/openshotuser/.openshot_qt |
|
|
| |
| ENV PYTHONPATH=/usr/lib/python3/dist-packages:/usr/lib/python3/dist-packages/openshot_qt |
|
|
| |
| CMD ["xvfb-run", "-a", "openshot-qt"] |