Skip to content

Commit 7d53390

Browse files
committed
fix python
Signed-off-by: Sun, Xuehao <xuehao.sun@intel.com>
1 parent 8918e9d commit 7d53390

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.azure-pipelines/docker/Dockerfile.devel

+4-3
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ FROM ubuntu:${UBUNTU_VER} as devel
1919
ENV LANG C.UTF-8
2020

2121
RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
22-
python3 \
23-
python3-pip \
24-
python3-dev \
22+
python3-full\
2523
autoconf \
2624
build-essential \
2725
git \
@@ -32,6 +30,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
3230
bc \
3331
vim
3432

33+
RUN python3 -m venv /opt/venv
34+
ENV PATH="/opt/venv/bin:$PATH"
35+
3536
RUN ln -sf $(which python3) /usr/bin/python
3637

3738
RUN pip list

0 commit comments

Comments
 (0)