mirror of
https://github.com/fmtr/haco.git
synced 2026-10-26 19:01:51 -04:00
Force pip install without venv #2
This commit is contained in:
parent
443d9e4bc3
commit
375f9f0ecf
1 changed files with 3 additions and 8 deletions
|
|
@ -2,15 +2,10 @@ ARG BUILD_FROM
|
|||
FROM $BUILD_FROM
|
||||
|
||||
ARG BUILD_VERSION
|
||||
RUN apk add --no-cache pipx
|
||||
ENV PATH="${PATH}:/root/.local/bin"
|
||||
|
||||
RUN pipx install haco==${BUILD_VERSION}
|
||||
|
||||
# Remove one haco is either updated to support aiomqtt 2.0.0 or specifies needed version in setup.py
|
||||
RUN pipx inject haco aiomqtt==1.2.1
|
||||
RUN apk add --no-cache py3-pip
|
||||
RUN pip install haco==${BUILD_VERSION} --break-system-packages
|
||||
|
||||
COPY run.sh /
|
||||
RUN chmod a+x /run.sh
|
||||
|
||||
CMD [ "/run.sh" ]
|
||||
CMD [ "/run.sh" ]
|
||||
Loading…
Add table
Add a link
Reference in a new issue