diff --git a/containerize.bash b/containerize.bash index 1c004c8695c4ed915da4312b95cc1bdfcac4d9fe..3d672caecb25fbcb426bc6b67323ce60e9191364 100755 --- a/containerize.bash +++ b/containerize.bash @@ -3,7 +3,8 @@ # Use this script to generate consistent singularity / docker definition files. NAME="Aphid" # Project name. -REPO="aphid" # Folder name. +REPO="aphid" # Source folder name. +WORKDIR="aphid" # Workding directory name. BIN="aphid" # Executable name. # Collect in this temporary variable. @@ -121,8 +122,8 @@ RUN <<EOF EOF # Now pick a folder to work within. -RUN mkdir -p /home/${NAME} -WORKDIR /home/${NAME} +RUN mkdir -p /home/${WORKDIR} +WORKDIR /home/${WORKDIR} ENTRYPOINT ["${BIN}"] DEOF