| 1 |
FROM python:3.8-buster |
| 2 |
|
| 3 |
# Install dependencies. We start with the basic ones require to build protoc |
| 4 |
# and the C++ build |
| 5 |
RUN apt-get update && apt-get install -y \ |
| 6 |
autoconf \ |
| 7 |
autotools-dev \ |
| 8 |
build-essential \ |
| 9 |
bzip2 \ |
| 10 |
ccache \ |
| 11 |
curl \ |
| 12 |
gcc \ |
| 13 |
git \ |
| 14 |
libc6 \ |
| 15 |
libc6-dbg \ |
| 16 |
libc6-dev \ |
| 17 |
libgtest-dev \ |
| 18 |
libtool \ |
| 19 |
make \ |
| 20 |
parallel \ |
| 21 |
time \ |
| 22 |
wget \ |
| 23 |
&& apt-get clean \ |
| 24 |
&& rm -rf /var/lib/apt/lists/* |
| 25 |
|
| 26 |
# Install Python libraries. |
| 27 |
RUN python -m pip install --no-cache-dir --upgrade \ |
| 28 |
pip \ |
| 29 |
setuptools \ |
| 30 |
tox \ |
| 31 |
wheel |