fix(worker): mount host devices for disc detection
Ampel / ampel (push) Failing after 30s

- Add direct device mounts (cdrom, dvd, sr0) to worker
- Add SYS_ADMIN capability for udev access
- Install isoinfo and udev in worker container
- Add pyudev for device monitoring
- Update udev rules with correct paths
This commit is contained in:
Hitonabi
2026-07-23 12:15:55 +02:00
parent 9c010d2dc5
commit 61af353559
8 changed files with 188 additions and 4 deletions
+2
View File
@@ -5,6 +5,8 @@ WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends \
gcc \
makepkg \
isoinfo \
udev \
&& rm -rf /var/lib/apt/lists/*
COPY docker/worker/requirements.txt .
+1
View File
@@ -3,3 +3,4 @@ redis==5.0.4
requests==2.32.3
sqlalchemy==2.0.32
psycopg2-binary==2.9.9
pyudev==0.24.2