Replace --install-option with pip-level option

This commit is contained in:
Prafulla Kotecha 2020-08-02 10:09:11 -04:00
parent c4d86703c5
commit f299234413

View file

@ -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