forked from BristolTopGroup/NTupleProduction
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
27 lines (22 loc) · 732 Bytes
/
Dockerfile
File metadata and controls
27 lines (22 loc) · 732 Bytes
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
FROM hepsw/cvmfs-cms
MAINTAINER lkreczko@gmail.com
RUN yum install -y -q wget glibc gcc
RUN useradd tquark
RUN mkdir /software && chown -R tquark /software
RUN mkdir /project && chown -R tquark /project
WORKDIR /project
COPY ./bin /project/bin
COPY ./data /project/data
COPY ./interface /project/interface
COPY ./plugins /project/plugins
COPY ./python /project/python
COPY ./src /project/src
COPY ./test /project/test
COPY ./requirements.txt /project/.
COPY ./setup.json /project/.
COPY ./BuildFile.xml /project/BuildFile.xml
ENV DEBUG 1
# need to execute env.sh and ntp setup in CMD
# as CVMFS needs 'privileged' rights,
# but cannot do that when building the container
CMD ["/bin/bash", "-c", "source bin/env.sh; ntp setup"]