forked from e-WindLidar/Lidaco
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
32 lines (25 loc) · 911 Bytes
/
Dockerfile
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
31
FROM python:3
WORKDIR /usr/src/app
# Replace 1000 with your user / group id
#RUN whoami
#RUN echo cut -d: -f1 /etc/passwd
#RUN export uid=1000 gid=1000 uname=root && \
# mkdir -p /home/${uname} && \
# mkdir -p /etc/sudoers.d/ && \
# echo "developer:x:${uid}:${gid}:Developer,,,:/home/${uname}:/bin/bash" >> /etc/passwd && \
# echo "developer:x:${uid}:" >> /etc/group && \
# echo "developer ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/${uname} && \
# chmod 0440 /etc/sudoers.d/${uname} && \
# chown ${uid}:${gid} -R /home/${uname}
#USER python
ENV PYTHONPATH="/usr/src/app:${PYTHONPATH}"
RUN pip3.6 install twine
RUN pip3.6 install netCDF4
RUN pip3.6 install pyyaml
# Required by the ncml writer
RUN pip3.6 install lxml
# Required by continuously run the converter during development
# RUN pip3.6 install watchdog
RUN apt update
#RUN apt install -y netcdf-bin
RUN apt install -y ncview