|
|
@@ -1,13 +1,13 @@ |
|
|
|
FROM ubuntu:20.04 |
|
|
|
FROM ubuntu:24.04 |
|
|
|
|
|
|
|
# docker build -t generate-panorama . |
|
|
|
# docker run -it -v $PWD:/data generate-panorama /data/image.jpg |
|
|
|
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive |
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \ |
|
|
|
python3 python3-dev python3-numpy python3-pip python3-pil hugin-tools \ |
|
|
|
python3 python3-dev python3-pip python3-pil hugin-tools \ |
|
|
|
&& rm -rf /var/lib/apt/lists/* |
|
|
|
RUN pip3 install pyshtools==4.9.1 |
|
|
|
RUN pip3 install --break-system-packages pyshtools==4.13.1 |
|
|
|
|
|
|
|
ADD generate.py /generate.py |
|
|
|
ENTRYPOINT ["python3", "/generate.py"] |