@@ -7,25 +7,32 @@ COPY ping /usr/bin/ping
77RUN chmod +x /usr/bin/ping
88
99RUN apt-get update \
10- && apt-get install --no-install-recommends -y git graphviz cmake \
11- build-essential gcc-13 g++-13 ca-certificates zlib1g-dev libncurses5-dev \
12- libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev \
13- libsqlite3-dev wget libbz2-dev \
10+ && apt-get install --no-install-recommends -y git=1:2.47.2-0.1 \
11+ graphviz=2.42.4-3 cmake=3.31.6-1 \
12+ build-essential=12.12 gcc-13=13.3.0-13 \
13+ g++-13=13.3.0-13 ca-certificates=20241223 \
14+ zlib1g-dev=1:1.3.dfsg+really1.3.1-1+b1 \
15+ libgdbm-dev=1.24-2 libnss3-dev=2:3.109-1 \
16+ libssl-dev=3.4.1-1 libreadline-dev=8.2-6 \
17+ libffi-dev=3.4.7-1 libsqlite3-dev=3.46.1-2 \
18+ wget=1.25.0-2 libbz2-dev=1.0.8-6 \
1419 && apt-get clean \
1520 && rm -rf /var/lib/apt/lists/*
1621
1722RUN wget https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tgz \
18- && tar -xvf Python-3.10.0.tgz \
19- && cd Python-3.10.0 \
20- && ./configure \
23+ && tar -xvf Python-3.10.0.tgz
24+
25+ WORKDIR /app/Python-3.10.0
26+ RUN ./configure \
2127 && make \
22- && make altinstall \
23- && cd - \
24- && ln -s /usr/local/bin/python3.10 /usr/bin/python \
28+ && make altinstall
29+
30+ WORKDIR /app
31+ RUN ln -s /usr/local/bin/python3.10 /usr/bin/python \
2532 && ln -s /usr/local/bin/pip3.10 /usr/bin/pip
2633
2734ENV CC=gcc-13 CXX=g++-13
28- RUN pip install --upgrade pipenv pip \
35+ RUN pip install --upgrade pipenv==2024.4.1 pip==25.0.1 \
2936 && pipenv install --skip-lock
3037RUN pipenv run freshquark
3138
0 commit comments