Skip to content

Commit f3dd78c

Browse files
committed
Fix dependencies
Signed-off-by: Beat Buesser <beat.buesser@ibm.com>
1 parent 0435b46 commit f3dd78c

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

.github/actions/tfv2-faster-rcnn/Dockerfile

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Get base from a tensorflow image
22
FROM tensorflow/tensorflow:2.13.0
33

4+
ENV MONO_TLS_PROVIDER=legacy
5+
46
# Set to install things in non-interactive mode
57
ENV DEBIAN_FRONTEND noninteractive
68

@@ -22,15 +24,6 @@ RUN apt-get update \
2224
&& apt-get clean all \
2325
&& rm -r /var/lib/apt/lists/*
2426

25-
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
26-
RUN bash Miniconda3-latest-Linux-x86_64.sh -b -p /miniconda
27-
RUN /miniconda/bin/conda install --yes \
28-
astropy \
29-
matplotlib \
30-
pandas \
31-
scikit-learn \
32-
scikit-image
33-
3427
# Install necessary libraries for tensorflow faster rcnn
3528
RUN mkdir TensorFlow
3629
RUN cd TensorFlow && git clone https://github.com/tensorflow/models
@@ -40,7 +33,4 @@ RUN cd TensorFlow/models/research && /TensorFlow/protobuf/bin/protoc object_dete
4033
RUN cd TensorFlow/models/research && cp object_detection/packages/tf2/setup.py .
4134
RUN cd TensorFlow/models/research && python -m pip install .
4235

43-
RUN pip install tqdm
44-
RUN pip install requests
45-
RUN pip install numba==0.50.0
46-
RUN pip install pytest-cov
36+
RUN pip install tqdm requests numba==0.50 pytest-cov numpy==1.23.5

0 commit comments

Comments
 (0)