-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
59 lines (47 loc) · 1.63 KB
/
Dockerfile
File metadata and controls
59 lines (47 loc) · 1.63 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Base Image
FROM ubuntu:22.04
MAINTAINER VDJServer <vdjserver@utsouthwestern.edu>
# PROXY: uncomment these lines if building behind UTSW proxy
# PROXY: DO NOT COMMIT WITH PROXY ON
# PROXY: look for other lines below marked PROXY:
#ENV http_proxy 'http://proxy.swmed.edu:3128/'
#ENV https_proxy 'https://proxy.swmed.edu:3128/'
#ENV HTTP_PROXY 'http://proxy.swmed.edu:3128/'
#ENV HTTPS_PROXY 'https://proxy.swmed.edu:3128/'
# Install OS Dependencies
RUN DEBIAN_FRONTEND='noninteractive' apt-get update && DEBIAN_FRONTEND='noninteractive' apt-get install -y \
make \
gcc g++ \
wget \
xz-utils \
python3 \
python3-pip
RUN pip3 install \
requests \
python-dotenv
##################
##################
# node
ENV NODE_VER v18.17.1
#ENV NODE_VER v12.18.3
RUN wget https://nodejs.org/dist/$NODE_VER/node-$NODE_VER-linux-x64.tar.xz
RUN tar xf node-$NODE_VER-linux-x64.tar.xz
RUN cp -rf /node-$NODE_VER-linux-x64/bin/* /usr/bin
RUN cp -rf /node-$NODE_VER-linux-x64/lib/* /usr/lib
RUN cp -rf /node-$NODE_VER-linux-x64/include/* /usr/include
RUN cp -rf /node-$NODE_VER-linux-x64/share/* /usr/share
# PROXY: More UTSW proxy settings
#RUN npm config set proxy http://proxy.swmed.edu:3128
#RUN npm config set https-proxy http://proxy.swmed.edu:3128
##################
##################
# Copy project source
#RUN mkdir /airr-standards
#COPY airr-standards /airr-standards
# Copy project source
RUN mkdir /vdjserver-schema
COPY . /vdjserver-schema
RUN cd /vdjserver-schema/airr-standards/lang/js && npm install --unsafe-perm
RUN cd /vdjserver-schema && npm install
# ESLint
#RUN cd /vdjserver-schema/airr-standards/lang/js && npm run eslint .