-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
61 lines (47 loc) · 1.85 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
FROM ghcr.io/ucsd-ets/pilot-vnc-desktop:remove-webproxy-patch
USER root
RUN apt-get update && \
# apt-get upgrade -y && \
apt-get install -yq \
build-essential \
ca-certificates \
gcc \
git \
libpq-dev \
make \
python2.7 \
libglu1 \
autoconf \
swig \
filezilla
# && apt-get autoremove \
# && apt-get clean
RUN fileid="1InDDqs_626fEHMMB4tJujGVhM_ED-UWz" && \
cd /opt/ && \
filename="OldContLinux.zip" && \
html=`curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}"` && \
curl -Lb ./cookie "https://drive.google.com/uc?export=download&`echo ${html}|grep -Po '(confirm=[a-zA-Z0-9\-_]+)'`&id=${fileid}" -o ${filename} && \
unzip OldContLinux.zip -d /opt/ && \
rm -f OldContLinux.zip && \
ls -l /opt/Continuity && \
chmod -R 777 /opt/Continuity
WORKDIR /opt/Continuity
RUN cd /opt/Continuity && \
./continuitySetup.sh && \
# Download Example Files
# Standard Model
filename2="sheet2304.cont6" && \
fileid2="1y_wezO54wgfJLD3RkMdr2pGfUOKuVAuq" && \
html=`curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid2}"` && \
curl -Lb ./cookie "https://drive.google.com/uc?export=download&`echo ${html}|grep -Po '(confirm=[a-zA-Z0-9\-_]+)'`&id=${fileid2}" -o ${filename2} && \
# Spiral Model
filename3="sheet2304_spiral.cont6" && \
fileid3="1kYsk32CxMurY0eeEiff6vZ3epEpK9n_Z" && \
html=`curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid3}"` && \
curl -Lb ./cookie "https://drive.google.com/uc?export=download&`echo ${html}|grep -Po '(confirm=[a-zA-Z0-9\-_]+)'`&id=${fileid3}" -o ${filename3} && \
ls -lh
# source mglinit && \
# autoconf && \
# ./configure && \
# chown -R jovyan /opt/continuity
USER jovyan