mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-06-25 01:48:22 -04:00
docker: install kbs via pip
This commit is contained in:
parent
93685499fa
commit
6419a29dd0
1 changed files with 3 additions and 3 deletions
|
@ -17,12 +17,12 @@ RUN yes | pacman -Scc
|
|||
RUN sed -i "s/SigLevel.*/SigLevel = Never/g" /etc/pacman.conf
|
||||
|
||||
ENV KUPFERBOOTSTRAP_WRAPPED=DOCKER
|
||||
ENV PATH=/app/bin:/app/local/bin:$PATH
|
||||
ENV PATH=/app/bin:/app/venv/bin:$PATH
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt .
|
||||
# TODO: pip packaging so we don't need --break-system-packages
|
||||
RUN pip install -r requirements.txt --break-system-packages
|
||||
RUN python3 -m venv venv
|
||||
RUN venv/bin/pip3 install -r requirements.txt
|
||||
|
||||
COPY . .
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue