File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -216,7 +216,8 @@ COPY files/data /home/jovyan/data
216
216
COPY files/notebooks /home/jovyan/notebooks
217
217
218
218
# copy mount script
219
- COPY mount-farm.sh /
219
+ COPY mount-farm /usr/local/bin/mount-farm
220
+ RUN chmod +x /usr/local/bin/mount-farm
220
221
221
222
# copy poststart script
222
223
COPY poststart.sh /
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
- FARM_LOGIN=farm5-login
3
+ FARM_LOGIN=farm5-login.internal.sanger.ac.uk
4
4
5
5
MOUNTED_DIRS=$( mount | grep sshfs | awk ' {print $3}' | grep -E " ^(/nfs|/lustre|/warehouse)$" )
6
6
if [[ ! -z ${MOUNTED_DIRS} ]];
Original file line number Diff line number Diff line change @@ -19,10 +19,6 @@ sudo mkdir -p /nfs
19
19
sudo mkdir -p /lustre
20
20
sudo mkdir -p /warehouse
21
21
22
- # copy mount-farm so its avaiable on the user's path
23
- sudo chmod +x /mount-farm.sh
24
- sudo cp /mount-farm.sh /usr/local/bin/mount-farm
25
-
26
22
# start docker service
27
23
sudo service docker start
28
24
You can’t perform that action at this time.
0 commit comments