Skip to content

Commit 5100ea5

Browse files
committed
Add Ubuntu and Leap's 3.9
1 parent 3d1c6f1 commit 5100ea5

File tree

6 files changed

+50
-0
lines changed

6 files changed

+50
-0
lines changed

Containerfile-38-UbuntuLTS

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
FROM docker.io/ubuntu:20.04
2+
3+
# needed for non-interactive installation of pip, tzdata prompts for input
4+
# without this. See also
5+
# https://dev.to/setevoy/docker-configure-tzdata-and-timezone-during-build-20bk
6+
ENV TZ=Europe/Berlin
7+
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
8+
RUN apt-get update && apt-get -y upgrade && \
9+
apt-get install -y python3-dev python3-pip
10+
11+
RUN python3 -m pip install pyperformance
12+
13+
WORKDIR /pyperformance
14+
RUN pyperformance venv create --venv venv
15+
16+
17+
VOLUME /benchmarks
18+
ENTRYPOINT pyperformance run --venv venv --python=venv/bin/python -o /benchmarks/ubuntu-$(venv/bin/python --version | awk '{print $2}').json

Containerfile-39-Leap

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM registry.opensuse.org/opensuse/leap:15.3
2+
3+
RUN zypper --non-interactive install python39 python39-devel python39-pip
4+
RUN python3.9 -m pip install pyperformance
5+
6+
WORKDIR /pyperformance
7+
RUN pyperformance venv create --venv venv
8+
9+
10+
VOLUME /benchmarks
11+
ENTRYPOINT pyperformance run --venv venv --python=venv/bin/python -o /benchmarks/leap-$(venv/bin/python --version | awk '{print $2}').json

Containerfile-39-Ubuntu

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
FROM docker.io/ubuntu:21.10
2+
3+
# needed for non-interactive installation of pip, tzdata prompts for input
4+
# without this. See also
5+
# https://dev.to/setevoy/docker-configure-tzdata-and-timezone-during-build-20bk
6+
ENV TZ=Europe/Berlin
7+
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
8+
RUN apt-get update && apt-get -y upgrade && \
9+
apt-get install -y python3-dev python3-pip
10+
11+
RUN python3 -m pip install pyperformance
12+
13+
WORKDIR /pyperformance
14+
RUN pyperformance venv create --venv venv
15+
16+
17+
VOLUME /benchmarks
18+
ENTRYPOINT pyperformance run --venv venv --python=venv/bin/python -o /benchmarks/ubuntu-$(venv/bin/python --version | awk '{print $2}').json

leap-3.9.6.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

ubuntu-3.8.10.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

ubuntu-3.9.7.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)