forked from h-dh/QA-DKRZ
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Dockerfile
41 lines (27 loc) · 830 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
32
33
34
35
36
37
38
39
# qa-dkrz
#
FROM continuumio/miniconda
MAINTAINER https://github.com/IS-ENES-Data/QA-DKRZ
LABEL Description="Quality Assurance Tool by DKRZ" Vendor="DKRZ" Version="0.5.0"
# Prepare system
RUN apt-get update && apt-get install -y vim tmux byobu libuuid1 uuid-dev libkeyutils1
# Update conda
RUN conda update -y -q conda
# Add additional conda channels
RUN conda config --add channels birdhouse
# Install qa-dkrz and other useful packages
RUN conda install -y -c birdhouse qa-dkrz cdo
# Add user hdh
#RUN useradd -d /home/hdh -m hdh
# Remaining tasks run as user hdh
#USER hdh
# Change to user home
#WORKDIR /home/hdh
WORKDIR /root
# Set conda env
#RUN conda create -y -q -n qa-dkrz -c birdhouse python=2.7
#RUN source activate qa-dkrz
# add mount point for data
VOLUME /data
# Start with byobu session
CMD ["byobu"]