Skip to content

Commit

Permalink
Tweaks and improvements to the /data Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagojsag committed Feb 24, 2023
1 parent 1d12696 commit d1e9aab
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions data/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,27 @@ FROM osgeo/gdal:ubuntu-full-3.2.1
LABEL maintainer="[email protected]"

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 [email protected]

# 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/
Expand Down

0 comments on commit d1e9aab

Please sign in to comment.