kopia lustrzana https://github.com/OpenDroneMap/WebODM
Fix multi-arch build
rodzic
11697fa0ed
commit
a565cab23f
|
@ -1,4 +1,4 @@
|
||||||
FROM opendronemap/ubuntu:21.04
|
FROM ubuntu:21.04
|
||||||
MAINTAINER Piero Toffanin <pt@masseranolabs.com>
|
MAINTAINER Piero Toffanin <pt@masseranolabs.com>
|
||||||
|
|
||||||
ARG TEST_BUILD
|
ARG TEST_BUILD
|
||||||
|
@ -10,6 +10,9 @@ ENV PROJ_LIB=/usr/share/proj
|
||||||
ADD . /webodm/
|
ADD . /webodm/
|
||||||
WORKDIR /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
|
# Install Node.js
|
||||||
RUN apt-get -qq update && apt-get -qq install -y --no-install-recommends wget curl && \
|
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 && \
|
wget --no-check-certificate https://deb.nodesource.com/setup_12.x -O /tmp/node.sh && bash /tmp/node.sh && \
|
||||||
|
|
Ładowanie…
Reference in New Issue