Skip to content

Commit 0c6b218

Browse files
committed
Update dockerfile to use ubuntu 22.04
1 parent 3ad840a commit 0c6b218

File tree

4 files changed

+22
-25
lines changed

4 files changed

+22
-25
lines changed

Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:20.04
1+
FROM ubuntu:22.04
22

33
ARG DEBIAN_FRONTEND=noninteractive
44

@@ -13,11 +13,12 @@ RUN apt-get update \
1313
libceres-dev \
1414
python3-dev \
1515
python3-numpy \
16+
python3-matplotlib \
1617
python3-opencv \
1718
python3-pip \
1819
python3-pyproj \
1920
python3-scipy \
20-
python3-yaml \
21+
python3-yaml \
2122
curl \
2223
&& apt-get clean \
2324
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
@@ -27,5 +28,5 @@ COPY . /source/OpenSfM
2728

2829
WORKDIR /source/OpenSfM
2930

30-
RUN pip3 install -r requirements.txt && \
31-
python3 setup.py build
31+
RUN pip3 install -r requirements.txt
32+
RUN python3 setup.py build

conda.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ dependencies:
2525
- pyyaml>5.4
2626
- scipy>=1.10.0
2727
- Sphinx==4.2.0
28-
- six
2928
- xmltodict==0.10.2
3029
- wheel
3130
- sphinx_rtd_theme

licenses.csv

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,4 @@ pyproj, 2.5.0, "OSI Approved"
1111
pytest, 3.0.7, MIT
1212
python-dateutil, 2.6.0, "Simplified BSD"
1313
scipy, 1.4.1, BSD
14-
six, 1.14.0, MIT
1514
xmltodict, 0.10.2, MIT

requirements.txt

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
1-
cloudpickle==0.4.0
2-
exifread==2.1.2
3-
flask==2.3.2
4-
fpdf2==2.4.6
5-
joblib==0.14.1
6-
matplotlib
7-
networkx==2.5
8-
numpy>=1.19
9-
Pillow>=8.1.1
10-
pyproj>=1.9.5.1
11-
pytest==3.0.7
12-
python-dateutil>=2.7
13-
pyyaml>=5.4
14-
scipy>=1.10.0
15-
Sphinx==4.2.0
16-
six
17-
xmltodict==0.10.2
18-
wheel
1+
cloudpickle==3.1.1
2+
ExifRead==3.3.1
3+
Flask==3.1.1
4+
fpdf2==2.8.3
5+
joblib==1.5.1
6+
matplotlib==3.5.1
7+
networkx==3.4.2
8+
numpy==1.21.5
199
opencv-python==4.5.1.48 ; sys_platform == "win32"
20-
opencv-python ; sys_platform == "linux"
10+
opencv-python==4.11.0.86 ; sys_platform == "linux"
11+
Pillow==9.0.1
12+
pyproj==3.3.0
13+
pytest==8.4.0
14+
python-dateutil==2.8.1
15+
PyYAML==5.4.1
16+
scipy==1.8.0
17+
Sphinx==4.2.0
18+
xmltodict==0.14.2

0 commit comments

Comments
 (0)