Skip to content

Commit d064595

Browse files
committed
update dependency software to TinyMS 0.3.1
1 parent c980ece commit d064595

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docker/tinyms/0.3.1-nginx/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ RUN git clone https://github.com/tinyms-ai/tinyms.git
1212

1313
# Ready for tinyms web frontend startup
1414
# Install Nginx and opencv dependencies software
15-
RUN apt-get install nginx=1.14.0-0ubuntu1.9 lsof libglib2.0-dev libsm6 libxrender1 -y
15+
RUN apt-get install nginx=1.14.0-0ubuntu1.9 lsof libglib2.0-dev libsm6 libxrender1 libgl1-mesa-glx -y
1616

1717
# Configure Nginx
1818
RUN sed -i '/include \/etc\/nginx\/sites-enabled\/\*;/a\

docker/tinyms/0.3.1/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ LABEL MAINTAINER="TinyMS Authors"
66
# Install base tools
77
RUN apt-get update
88
# Install opencv dependencies software
9-
RUN apt-get install libglib2.0-dev libsm6 libxrender1 -y
9+
RUN apt-get install libglib2.0-dev libsm6 libxrender1 libgl1-mesa-glx -y
1010

1111
# Install TinyMS cpu whl package
1212
RUN pip install --upgrade pip && pip install --no-cache-dir tinyms==0.3.1

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ easydict>=1.9
33
scipy>=1.5.2,<1.8.0
44
matplotlib>=3.1.3
55
Pillow>=6.2.0
6-
mindspore>=1.5.0
6+
mindspore>=1.5.0,<=1.6.0
77
wheel>=0.32.0
88
setuptools>=40.8.0
99
requests>=2.22.0

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def _write_version(file):
4747
'scipy>=1.5.2,<1.8.0',
4848
'matplotlib>=3.1.3',
4949
'Pillow>=6.2.0',
50-
'mindspore>=1.5.0',
50+
'mindspore>=1.5.0,<=1.6.0',
5151
'requests>=2.22.0',
5252
'flask>=1.1.1',
5353
'python-Levenshtein>=0.10.2',

0 commit comments

Comments
 (0)