forked from splunk/pytest-splunk-addon
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.tests
More file actions
26 lines (21 loc) · 789 Bytes
/
Dockerfile.tests
File metadata and controls
26 lines (21 loc) · 789 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#Splunk Connect for Syslog (SC4S) by Splunk, Inc.
#
#To the extent possible under law, the person who associated CC0 with
#Splunk Connect for Syslog (SC4S) has waived all copyright and related or neighboring rights
#to Splunk Connect for Syslog (SC4S).
#
#You should have received a copy of the CC0 legalcode along with this
#work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
FROM python:3.7
RUN pip3 install --upgrade pip
RUN mkdir -p /work/tests
RUN mkdir -p /work/test-results/functional
COPY entrypoint.sh /
RUN apt-get update ; apt-get install -y netcat; apt-get clean
COPY . /tmp/pytest-splunk-addon
RUN pip3 install -e /tmp/pytest-splunk-addon
COPY pytest-ci.ini /work/pytest.ini
COPY tests /work/tests/
WORKDIR /work
ENTRYPOINT "/entrypoint.sh"
CMD tests