我怎样才能在docker文件中安装Python的Python?

我有我自己的dockerfile,它使用gdal和其他几个包创build一个图像:

FROM geodata/gdal:2.1.2 USER root RUN apt-get update && apt-get install -y \ build-essential \ gfortran \ libatlas-base-dev \ python-pip \ python-dev \ libxft-dev libfreetype6 libfreetype6-dev RUN apt-get install -y python-tk RUN pip install \ numpy \ matplotlib \ scipy \ click \ Pillow \ scikit-image \ Cython \ packaging RUN apt-get install -y liblas-c3 RUN apt-get install pdal RUN pip install liblas RUN pip install laspy RUN pip install pdal WORKDIR /data VOLUME /data 

我只是试图安装pdal,请注意dockerfile中的两行:

 RUN apt-get install pdal RUN pip install pdal 

但似乎并不奏效。 当我尝试构build图像时,它只是写入错误消息:

 Step 9 : RUN apt-get install pdal ---> Running in b7d7f128024e Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package pdal The command '/bin/sh -c apt-get install pdal' returned a non-zero code: 100 

我似乎无法弄清楚如何将pdal添加到图像,并且他们的hp https://www.pdal.io/quickstart.html只说明如何下载docker并将pdal作为单独的图像,而不是有用的,因为我需要在我自己的形象以及所有其他的Python包! 如何才能做到这一点??