Skip to content

Commit 4cb46f8

Browse files
update Dockerfile
1 parent 629cbb8 commit 4cb46f8

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

docker/Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,12 @@ RUN wget https://fsl.fmrib.ox.ac.uk/fsldownloads/fslconda/releases/fslinstaller.
7878
#Make FSL Happy
7979
ENV FSLDIR=/usr/local/fsl
8080
ENV PATH=$FSLDIR/bin:$PATH
81-
RUN /bin/bash -c 'source /usr/local/fsl/etc/fslconf/fsl.sh'
81+
82+
#Following is the recommended process in upstream repo to source the file. However, this only works during Dockerb build and doesn't persist during runtime
83+
#RUN /bin/bash -c 'source /usr/local/fsl/etc/fslconf/fsl.sh'
84+
#Therefore, using the following methong which will add FSL setup to system-wide profile
85+
RUN echo '. ${FSLDIR}/etc/fslconf/fsl.sh' >> /etc/profile.d/fsl.sh
86+
8287

8388
ENV FSLMULTIFILEQUIT=TRUE
8489
ENV FSLOUTPUTTYPE=NIFTI_GZ

form.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ form:
77
- wall_time
88

99
attributes:
10-
cpu: 2
11-
memory: 4
10+
cpu: 4
11+
memory: 8
1212
wall_time:
1313
widget: number_field
1414
label: "Hours"

submit.yml.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ script:
1717
native:
1818
container:
1919
name: "matai"
20-
image: "ghcr.io/nesi/training-environment-jupyter-matai-app:v0.7.0"
20+
image: "ghcr.io/nesi/training-environment-jupyter-matai-app:v0.8.0"
2121
command: ["/bin/bash","-l","<%= staged_root %>/job_script_content.sh"]
2222
working_dir: "<%= Etc.getpwnam(ENV['USER']).dir %>"
2323
restart_policy: 'OnFailure'

0 commit comments

Comments
 (0)