forked from MarWoes/viper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
25 lines (19 loc) · 660 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
FROM openjdk:8-jdk
MAINTAINER Marius Wöste
ARG UID=1000
ARG GID=1000
COPY . /viper
RUN apt-get update && \
apt-get install -y xvfb gradle curl wget gtk+3.0 zip && \
curl -sL https://deb.nodesource.com/setup_6.x | bash - && \
apt-get install -y nodejs && \
npm config set registry http://registry.npmjs.org/ && \
npm install -g bower && \
npm install -g grunt-cli && \
curl -o /viper/igv.jar https://uni-muenster.sciebo.de/index.php/s/7YptrvcDLz56tn7/download && \
groupadd -g ${GID} workforce && \
useradd -m -u ${UID} -g ${GID} worker && \
chown -R worker /viper
USER worker
RUN cd /viper && ./build.sh
CMD cd /viper && gradle test