File tree 3 files changed +47
-0
lines changed
3 files changed +47
-0
lines changed Original file line number Diff line number Diff line change
1
+ .tox /
2
+ .coverage_data /
3
+ .python-version
4
+ __pycache__ /
5
+ * .pyc
6
+ build /
7
+ dist /
8
+ htmlcov /
9
+ * .egg-info /
10
+ * .egg
Original file line number Diff line number Diff line change
1
+ FROM ubuntu:20.04
2
+ LABEL authors="Sebastien Andrivet"
3
+
4
+ ARG DEBIAN_FRONTEND=noninteractive
5
+
6
+ RUN apt-get update && \
7
+ apt install software-properties-common -y && \
8
+ add-apt-repository ppa:deadsnakes/ppa && \
9
+ apt-get update && \
10
+ apt-get install -y --no-install-recommends git curl && \
11
+ apt-get install -y --no-install-recommends \
12
+ python2.7 \
13
+ python3.4 \
14
+ python3.5 \
15
+ python3.6 python3.6-distutils \
16
+ python3.7 python3.7-distutils \
17
+ python3.8 python3.8-distutils \
18
+ python3.9 \
19
+ python3.10 \
20
+ python3.11 \
21
+ python3.12 \
22
+ python3.13 && \
23
+ apt-get clean && rm -rf /var/lib/apt/lists/*
24
+
25
+ RUN curl -sS https://bootstrap.pypa.io/get-pip.py | python3.12
26
+ RUN pip3 install --upgrade pip setuptools wheel tox
27
+
28
+ RUN useradd --create-home user
29
+ RUN mkdir /home/user/project && chown user:user /home/user/project
30
+
31
+ USER user
32
+ WORKDIR /home/user/project
33
+ COPY --chown=user . .
34
+
35
+ CMD ["tox" ]
Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ graft tests
7
7
include .coveragerc
8
8
include .cookiecutterrc
9
9
include .editorconfig
10
+ exclude Dockerfile
11
+ exclude .dockerignore
10
12
11
13
include AUTHORS.rst
12
14
include CHANGELOG.rst
You can’t perform that action at this time.
0 commit comments