summaryrefslogtreecommitdiffstats
path: root/tests/docker-centos-7/Dockerfile
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 17:43:34 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 17:43:34 +0000
commit0fcce96a175531ec6042cde1b11a0052aa261dd5 (patch)
tree898a1e161c4984b41e6a732866bd73b24f0f7b7a /tests/docker-centos-7/Dockerfile
parentInitial commit. (diff)
downloadsuricata-update-0fcce96a175531ec6042cde1b11a0052aa261dd5.tar.xz
suricata-update-0fcce96a175531ec6042cde1b11a0052aa261dd5.zip
Adding upstream version 1.3.2.upstream/1.3.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/docker-centos-7/Dockerfile')
-rw-r--r--tests/docker-centos-7/Dockerfile25
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/docker-centos-7/Dockerfile b/tests/docker-centos-7/Dockerfile
new file mode 100644
index 0000000..fdf1814
--- /dev/null
+++ b/tests/docker-centos-7/Dockerfile
@@ -0,0 +1,25 @@
+FROM centos:7
+
+RUN yum -y install epel-release
+RUN yum -y install \
+ git \
+ python-yaml \
+ python-pip \
+ pytest \
+ python34-yaml \
+ python34-pytest \
+ python34-pip \
+ findutils
+
+COPY / /src
+RUN find /src -name \*.pyc -delete
+
+ENV PYTEST2 py.test
+ENV PYTEST3 py.test-3
+
+ENV PIP2 pip2
+ENV PIP3 pip3
+
+WORKDIR /src
+
+CMD ["./tests/docker-centos-7/run.sh"]