Update loadgenerator Dockerfile to fix Pip incompatibility
This commit is contained in:
parent
a9e95bc05c
commit
963a05ff61
1 changed files with 3 additions and 2 deletions
|
@ -12,16 +12,17 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
FROM python:3-slim as base
|
FROM python:3.7.2-slim as base
|
||||||
|
|
||||||
FROM base as builder
|
FROM base as builder
|
||||||
|
|
||||||
RUN apt-get -qq update \
|
RUN apt-get -qq update \
|
||||||
&& apt-get install -y --no-install-recommends \
|
&& apt-get install -y --no-install-recommends \
|
||||||
g++
|
g++ libzmq3-dev
|
||||||
|
|
||||||
COPY requirements.txt .
|
COPY requirements.txt .
|
||||||
|
|
||||||
|
RUN pip install --upgrade pip
|
||||||
RUN pip install --prefix="/install" -r requirements.txt
|
RUN pip install --prefix="/install" -r requirements.txt
|
||||||
|
|
||||||
FROM base
|
FROM base
|
||||||
|
|
Loading…
Add table
Reference in a new issue