Skip to content

Commit

Permalink
Add: pipx to path
Browse files Browse the repository at this point in the history
  • Loading branch information
mathisschiwy authored and greenbonebot committed Sep 13, 2024
1 parent 382782c commit d8b04a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ FROM debian:stable-slim
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
ENV PIP_NO_CACHE_DIR off
ENV PATH="/root/.local/bin:${PATH}"

WORKDIR /greenbone-feed-sync

Expand All @@ -36,7 +37,7 @@ RUN apt-get update && \
apt-get remove --purge --auto-remove -y && \
rm -rf /var/lib/apt/lists/*

RUN pipx ensurepath
RUN PIPX_HOME=/var/lib/pipx PIPX_BIN_DIR=/usr/bin

RUN addgroup --gid 1001 --system gvm && \
adduser --no-create-home --shell /bin/false --disabled-password --uid 1001 --system --group gvm
Expand Down

0 comments on commit d8b04a9

Please sign in to comment.