Replace --install-option with pip-level option
This commit is contained in:
parent
c4d86703c5
commit
f299234413
1 changed files with 3 additions and 3 deletions
|
@ -18,11 +18,11 @@ FROM base as builder
|
|||
|
||||
RUN apt-get -qq update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
g++
|
||||
g++
|
||||
|
||||
COPY requirements.txt .
|
||||
|
||||
RUN pip install --install-option="--prefix=/install" -r requirements.txt
|
||||
RUN pip install --prefix="/install" -r requirements.txt
|
||||
|
||||
FROM base
|
||||
COPY --from=builder /install /usr/local
|
||||
|
@ -31,5 +31,5 @@ COPY . .
|
|||
RUN chmod +x ./loadgen.sh
|
||||
RUN apt-get -qq update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
curl
|
||||
curl
|
||||
ENTRYPOINT ./loadgen.sh
|
||||
|
|
Loading…
Add table
Reference in a new issue