Skip to content

Commit 19af055

Browse files
committed
Copy Python wheel dependencies to compile stage
1 parent 357f39c commit 19af055

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

Dockerfile

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,47 @@ RUN python3 -m pip install --no-cache-dir --upgrade \
4040
setuptools==${PYTHON_SETUPTOOLS_VERSION} \
4141
wheel==${PYTHON_WHEEL_VERSION}
4242

43+
###
44+
# Install everything we need to build wheels
45+
###
46+
ENV DEPS="build-essential \
47+
cmake \
48+
curl \
49+
git \
50+
libblas-dev \
51+
libc6-dev \
52+
libfontconfig1 \
53+
liblapack-dev \
54+
libreadline-dev \
55+
libssl-dev \
56+
libxml2-dev \
57+
libxslt1-dev \
58+
libyaml-dev \
59+
make \
60+
unzip \
61+
wget \
62+
zlib1g-dev \
63+
autoconf \
64+
automake \
65+
bison \
66+
gawk \
67+
libffi-dev \
68+
libgdbm-dev \
69+
libncurses5-dev \
70+
libsqlite3-dev \
71+
libtool \
72+
pkg-config \
73+
sqlite3 \
74+
libgeos-dev \
75+
# Additional dependencies for python-build
76+
libbz2-dev \
77+
llvm \
78+
libncursesw5-dev"
79+
RUN apt update --quiet --quiet \
80+
&& apt install --quiet --quiet --yes \
81+
--no-install-recommends --no-install-suggests \
82+
$DEPS
83+
4384
###
4485
# Install the Python dependencies into the virtual environment.
4586
#

0 commit comments

Comments
 (0)