diff --git a/Dockerfile b/Dockerfile index 03d7a91..bc061e6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,8 +6,11 @@ ENV DEBIAN_FRONTEND noninteractive USER root -RUN apt update -RUN apt install -y -qq --no-install-recommends software-properties-common build-essential cmake git \ +# Use old-releases for 21.04 +RUN printf "deb http://old-releases.ubuntu.com/ubuntu/ hirsute main restricted\ndeb http://old-releases.ubuntu.com/ubuntu/ hirsute-updates main restricted\ndeb http://old-releases.ubuntu.com/ubuntu/ hirsute universe\ndeb http://old-releases.ubuntu.com/ubuntu/ hirsute-updates universe\ndeb http://old-releases.ubuntu.com/ubuntu/ hirsute multiverse\ndeb http://old-releases.ubuntu.com/ubuntu/ hirsute-updates multiverse\ndeb http://old-releases.ubuntu.com/ubuntu/ hirsute-backports main restricted universe multiverse" > /etc/apt/sources.list + +RUN apt-get update +RUN apt-get install -y -qq --no-install-recommends software-properties-common build-essential cmake git \ exiv2 libimage-exiftool-perl proj-bin gdal-bin figlet imagemagick pdal libpdal-dev \ libboost-all-dev libtbb-dev libssl-dev libcurl4-openssl-dev pkg-config libpth-dev \ curl libx11-dev python3-pip python3-setuptools python3-shapely @@ -19,7 +22,7 @@ RUN pip3 install --trusted-host pypi.org --trusted-host pypi.python.org --truste RUN pip3 install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org scikit-image RUN curl --silent --location https://deb.nodesource.com/setup_14.x | bash - -RUN apt install -y nodejs +RUN apt-get install -y nodejs RUN npm install -g nodemon # Build Entwine