forked from metno/surfExp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile_ubuntu_18_04
30 lines (24 loc) · 962 Bytes
/
Dockerfile_ubuntu_18_04
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
FROM ubuntu:18.04
WORKDIR /pysurfex-experiment
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
python3 \
python3-pip \
python3-pyproj \
libeccodes-dev \
libudunits2-dev \
zip \
wget \
ecflow-server \
ecflow-client
# Install remaining requirements
WORKDIR /pysurfex-experiment
# Install
COPY . .
WORKDIR /pysurfex-experiment
RUN python3 -m pip install --upgrade pip
# RUN pip3 install .
RUN pip3 install -r requirements.txt
RUN wget --no-check-certificate --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id=1FSNRQE998-ulBq8GZ0zZ40cP-TLrQulV' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')&id=1FSNRQE998-ulBq8GZ0zZ40cP-TLrQulV" -O testdata.zip && rm -rf /tmp/cookies.txt
RUN unzip -o testdata.zip
#RUN nosetests