File tree Expand file tree Collapse file tree 1 file changed +19
-9
lines changed Expand file tree Collapse file tree 1 file changed +19
-9
lines changed Original file line number Diff line number Diff line change 1
- FROM ubuntu:18 .04
1
+ FROM ubuntu:22 .04
2
2
3
3
ARG DEBIAN_FRONTEND=noninteractive
4
+
5
+ # RUN add-apt-repository universe
4
6
# WARNING: DON'T PUT A SPACE AFTER ANY BACKSLASH OR APT WILL BREAK
5
7
# One -q produces output suitable for logging (mostly hides
6
8
# progress indicators)
7
9
RUN apt-get -yqq update && apt-get -yqq install \
8
10
-o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" \
9
11
cloc \
12
+ curl \
10
13
dstat `# Collect resource usage statistics` \
14
+ gcc \
11
15
git-core \
12
16
libmysqlclient-dev `# Needed for MySQL-python` \
13
17
libpq-dev \
14
- python-dev \
15
- python-pip \
18
+ python2 \
19
+ python2.7-dev \
16
20
siege \
17
- software-properties-common && \
18
- pip install \
21
+ software-properties-common
22
+
23
+ RUN curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
24
+ RUN python2 get-pip.py
25
+
26
+ RUN curl https://raw.githubusercontent.com/paulfitz/mysql-connector-c/master/include/my_config.h --output /usr/include/mysql/my_config.h
27
+
28
+ RUN pip install \
19
29
colorama==0.3.1 \
20
30
docker==4.0.2 \
21
31
MySQL-python \
22
32
psutil \
23
33
psycopg2-binary \
24
34
pymongo \
25
- requests && \
35
+ requests
26
36
# Fix for docker-py trying to import one package from the wrong location
27
- cp -r /usr/local/lib/python2.7/dist-packages/backports/ssl_match_hostname \
28
- /usr/lib/python2.7/dist-packages/backports
37
+ # cp -r /usr/local/lib/python2.7/dist-packages/backports/ssl_match_hostname \
38
+ # /usr/lib/python2.7/dist-packages/backports
29
39
30
40
ENV FWROOT=/FrameworkBenchmarks PYTHONPATH=/FrameworkBenchmarks
31
41
32
- ENTRYPOINT ["python " , "/FrameworkBenchmarks/toolset/run-tests.py" ]
42
+ ENTRYPOINT ["python2 " , "/FrameworkBenchmarks/toolset/run-tests.py" ]
You can’t perform that action at this time.
0 commit comments