File tree 3 files changed +13
-12
lines changed
3 files changed +13
-12
lines changed Original file line number Diff line number Diff line change 1
- FROM python:3.4 -alpine
1
+ FROM python:3.11 -alpine
2
2
MAINTAINER Artem Alexandrov <
[email protected] >
3
- ENV REFRESHED_AT 2017013001
3
+ ENV REFRESHED_AT 2024050501
4
4
ENV CONFIG_FILE /config.yml
5
- COPY requirements.txt / zabbix-cachet/requirements.txt
6
- COPY zabbix-cachet.py /zabbix-cachet/zabbix-cachet.py
7
- RUN pip3 install -r /zabbix-cachet/requirements.txt
8
- WORKDIR /opt/
5
+ WORKDIR /opt/ zabbix-cachet
6
+ COPY requirements.txt .
7
+ COPY . ./
8
+ RUN pip3 install -e .
9
9
10
- CMD ["python" , "/zabbix-cachet /zabbix-cachet.py" ]
10
+ CMD ["python" , "/opt /zabbix-cachet/main .py" ]
11
11
Original file line number Diff line number Diff line change @@ -3,5 +3,5 @@ pyzabbix==1.3.1
3
3
requests >= 2.21.0
4
4
pytz == 2024.1
5
5
# Dev only
6
- pytest == 8.2.0
7
- pytest-env == 1.1.3
6
+ # pytest==8.2.0
7
+ # pytest-env==1.1.3
Original file line number Diff line number Diff line change 17
17
'Programming Language :: Python :: 3.7' ,
18
18
'Programming Language :: Python :: 3.8' ,
19
19
'Programming Language :: Python :: 3.9' ,
20
+ 'Programming Language :: Python :: 3.10' ,
21
+ 'Programming Language :: Python :: 3.11' ,
20
22
"License :: OSI Approved :: MIT License" ,
21
23
"Operating System :: OS Independent" ,
22
24
"Topic :: System :: Monitoring" ,
23
25
],
24
26
python_requires = ">=3.6" ,
25
27
install_requires = [
26
28
"requests>=2.21.0" ,
27
- # TODO: Check versions!
28
- "PyYAML==6.0" ,
29
- "pyzabbix==1.2.1" ,
29
+ "PyYAML>=5.4" ,
30
+ "pyzabbix==1.3.1" ,
30
31
"pytz" ,
31
32
],
32
33
)
You can’t perform that action at this time.
0 commit comments