-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tweaks and improvements to the /data Dockerfile
- Loading branch information
Showing
1 changed file
with
11 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/ | ||
|