summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..e94da84
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,18 @@
+FROM linaro/jenkins-amd64-ubuntu:bionic
+
+RUN apt update \
+ && DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends \
+ python-dev \
+ python-virtualenv \
+ virtualenv \
+ python-flake8 \
+ flake8 \
+ libldap2-dev \
+ libsasl2-dev \
+ libssl-dev
+
+COPY . patchwork-tools
+RUN cd patchwork-tools \
+&& ./unit-test.sh
+
+CMD ["/usr/sbin/sshd", "-D"]