-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
4.0c
- Loading branch information
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
FROM ubuntu:22.04 | ||
|
||
MAINTAINER TReNDS Center Cyrus Eierud <ceierud@gsu.edu> | ||
|
||
# Initiation of system | ||
RUN apt-get update -y \ | ||
&& apt-get install wget unzip libxext-dev libxt-dev libxmu-dev libglu1-mesa-dev libxrandr-dev -y \ | ||
&& mkdir -p /tmp_mcr \ | ||
&& cd /tmp_mcr \ | ||
&& wget https://ssd.mathworks.com/supportfiles/downloads/R2016b/deployment_files/R2016b/installers/glnxa64/MCR_R2016b_glnxa64_installer.zip \ | ||
&& wget https://ssd.mathworks.com/supportfiles/downloads/R2016b/deployment_files/R2016b/installers/glnxa64/MCR_R2016b_Update_6_glnxa64.sh \ | ||
&& unzip MCR_R2016b_glnxa64_installer.zip \ | ||
&& ./install -destinationFolder /usr/local/MATLAB/MATLAB_Runtime/ -mode silent -agreeToLicense yes \ | ||
&& chmod +x MCR_R2016b_Update_6_glnxa64.sh \ | ||
&& ./MCR_R2016b_Update_6_glnxa64.sh \ | ||
&& mkdir -p /app \ | ||
&& rm -rf /tmp_mcr \ | ||
&& wget -P /app https://trends-public-website-fileshare.s3.amazonaws.com/public_website_files/software/gift/software/bids/groupica | ||
# groupica is compiled using MATLAB version R2016b. | ||
|
||
# Environment variables | ||
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/x86_64-linux-gnu/:/usr/local/MATLAB/MATLAB_Runtime/v91/:/usr/local/MATLAB/MATLAB_Runtime/v91/runtime/glnxa64:/usr/local/MATLAB/MATLAB_Runtime/v91/bin/glnxa64:/usr/local/MATLAB/MATLAB_Runtime/v91/sys/os/glnxa64:/usr/local/MATLAB/MATLAB_Runtime/v91/sys/java/jre/glnxa64/jre/lib/amd64/native_threads:/usr/local/MATLAB/MATLAB_Runtime/v91/sys/java/jre/glnxa64/jre/lib/amd64/server:/usr/local/MATLAB/MATLAB_Runtime/v91/sys/java/jre/glnxa64/jre/lib/amd64 | ||
ENV XAPPLRESDIR=/usr/local/MATLAB/MATLAB_Runtime/v91/X11/app-defaults | ||
ENV MCR_CACHE_VERBOSE=true | ||
ENV MCR_CACHE_ROOT=/tmp | ||
ENV PATH=$PATH:/app: | ||
ENV MATLAB_VER=R2016b | ||
ENV GICA_VER=v4.0c | ||
ENV GICA_INSTALL_DIR=/app/ | ||
|
||
# Building entrypoint | ||
COPY run.sh gica_bids_app.m /app/ | ||
WORKDIR /app | ||
RUN chmod +x /app/groupica | ||
ENTRYPOINT ["/app/run.sh"] |