diff --git a/data/Dockerfile b/data/Dockerfile index 5d7cd16c3..aba9287ce 100644 --- a/data/Dockerfile +++ b/data/Dockerfile @@ -2,20 +2,27 @@ FROM osgeo/gdal:ubuntu-full-3.2.1 LABEL maintainer="hello@vizzuality.com" ENV NODE_OPTIONS=--max_old_space_size=16384 -RUN curl -fsSL https://deb.nodesource.com/setup_16.x | sh - + +# Silence some apt-get errors +RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections RUN apt-get --allow-releaseinfo-change update +RUN apt-get install -y apt-utils + +RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - + RUN apt-get install -y --no-install-recommends pip make jq postgresql-client time build-essential zip nodejs RUN npm i -g mapshaper@0.5.66 + # install aws cli RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" \ - && unzip awscliv2.zip \ + && unzip -q awscliv2.zip \ && ./aws/install -RUN pip install --upgrade --no-cache-dir pip +RUN pip install -q --upgrade --no-cache-dir pip COPY ./requirements.txt requirements.txt -RUN pip install --no-cache-dir -r requirements.txt +RUN pip install -q --no-cache-dir -r requirements.txt WORKDIR / RUN mkdir -p data/