Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 0.11.1

- **pip removed from the image:** pip is only needed to build the image. It brought its
own copies of urllib3 and msgpack with known vulnerabilities, which the image scan
reported. RDAPI never used them; the image now contains no pip at all.

## 0.11.0

- **Alarms in the history:** a new tab under “History” shows the alarms the RustDesk app
Expand Down
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ ENV PYTHONDONTWRITEBYTECODE=1 \

WORKDIR /srv
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# pip wird zur Laufzeit nicht gebraucht und bringt eigene, oft veraltete Pakete mit
# (urllib3, msgpack …), die der Image-Scan meldet: nach der Installation entfernen.
RUN pip install --no-cache-dir -r requirements.txt \
&& pip uninstall -y pip \
&& rm -rf /usr/local/lib/python3*/ensurepip/_bundled
COPY rdapi ./rdapi

# Läuft ohne Root; compose kann mit user: PUID:PGID einen anderen Benutzer setzen
Expand Down
Loading