mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Also reduce the parallelism on BuildKite for this test. It should suffice to run on just 2 agents. PiperOrigin-RevId: 635619602
22 lines
485 B
Docker
22 lines
485 B
Docker
FROM ubuntu:jammy
|
|
RUN apt-get update && apt-get install -y \
|
|
curl \
|
|
gcc \
|
|
libbz2-dev \
|
|
libffi-dev \
|
|
liblzma-dev \
|
|
libreadline-dev \
|
|
libssl-dev \
|
|
make \
|
|
zlib1g-dev
|
|
|
|
# Use flags -LJO to follow the html redirect and download .tar.gz.
|
|
WORKDIR /root
|
|
ARG VERSION=3.12.3
|
|
RUN curl -LJO https://github.com/python/cpython/archive/v${VERSION}.tar.gz
|
|
RUN tar -zxf cpython-${VERSION}.tar.gz
|
|
|
|
WORKDIR /root/cpython-${VERSION}
|
|
RUN ./configure --with-pydebug
|
|
RUN make -s -j $(nproc)
|