diff --git a/Dockerfile b/Dockerfile index d49e6b01..519d1204 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM opendronemap/ubuntu:21.04 +FROM ubuntu:21.04 MAINTAINER Piero Toffanin ARG TEST_BUILD @@ -10,6 +10,9 @@ ENV PROJ_LIB=/usr/share/proj ADD . /webodm/ WORKDIR /webodm +# 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 + # Install Node.js RUN apt-get -qq update && apt-get -qq install -y --no-install-recommends wget curl && \ wget --no-check-certificate https://deb.nodesource.com/setup_12.x -O /tmp/node.sh && bash /tmp/node.sh && \