Update loadgenerator Dockerfile to fix Pip incompatibility

This commit is contained in:
David Mailhot 2020-10-13 14:07:19 -07:00
parent a9e95bc05c
commit 963a05ff61

View file

@ -12,16 +12,17 @@
# See the License for the specific language governing permissions and
# limitations under the License.
FROM python:3-slim as base
FROM python:3.7.2-slim as base
FROM base as builder
RUN apt-get -qq update \
&& apt-get install -y --no-install-recommends \
g++
g++ libzmq3-dev
COPY requirements.txt .
RUN pip install --upgrade pip
RUN pip install --prefix="/install" -r requirements.txt
FROM base