Skip to content

Commit f86695a

Browse files
authored
Fixing broken deps (#12)
1 parent 0678f66 commit f86695a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: sentinel.Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ RUN apt-get update && apt-get install -y wget git gcc
66
RUN mkdir -p /app /app/tails /app/models /data /data/logs /_tmp
77

88
# install miniconda
9-
RUN wget --quiet https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh && \
9+
RUN wget --quiet https://repo.anaconda.com/miniconda/Miniconda3-py38_4.9.2-Linux-x86_64.sh -O miniconda.sh && \
1010
mkdir -p /opt && \
1111
sh miniconda.sh -b -p /opt/conda && \
1212
rm miniconda.sh && \
@@ -28,7 +28,7 @@ WORKDIR /app
2828
# install service requirements, swarp, and tails; generate supervisord conf file
2929
RUN /opt/conda/bin/conda install -c conda-forge astromatic-swarp && \
3030
ln -s /opt/conda/bin/swarp /bin/swarp && \
31-
/opt/conda/bin/pip install -U pip && \
31+
/opt/conda/bin/pip install -U pip cython && \
3232
/opt/conda/bin/python setup.py install && \
3333
/opt/conda/bin/pip install -r requirements.txt --no-cache-dir && \
3434
/opt/conda/bin/python generate_supervisor_conf.py

Diff for: setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def run_git(cmd):
156156
"beautifulsoup4>=4.9.0",
157157
"cycler>=0.10.0",
158158
"cmasher>=1.5.1",
159-
"efficientnet>=1.1.0",
159+
"efficientnet==1.1.1",
160160
"gsutil>=4.57",
161161
"matplotlib>=3.1.3",
162162
"numpy==1.19.2",
@@ -168,7 +168,7 @@ def run_git(cmd):
168168
"reproject>=0.7",
169169
"requests>=2.23.0",
170170
"requests_html>=0.10.0",
171-
"tensorflow>=2.2.0",
171+
"tensorflow==2.5.1",
172172
"tqdm>=4.46.0",
173173
],
174174
author=AUTHOR,

0 commit comments

Comments
 (0)