@@ -7,25 +7,32 @@ COPY ping /usr/bin/ping
7
7
RUN chmod +x /usr/bin/ping
8
8
9
9
RUN 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 \
14
19
&& apt-get clean \
15
20
&& rm -rf /var/lib/apt/lists/*
16
21
17
22
RUN 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 \
21
27
&& 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 \
25
32
&& ln -s /usr/local/bin/pip3.10 /usr/bin/pip
26
33
27
34
ENV 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 \
29
36
&& pipenv install --skip-lock
30
37
RUN pipenv run freshquark
31
38
0 commit comments