Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eic_container
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
containers
eic_container
Merge requests
!81
Improved environment setup
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Improved environment setup
improve_env
into
master
Overview
0
Commits
6
Pipelines
0
Changes
8
Merged
Sylvester Joosten
requested to merge
improve_env
into
master
3 years ago
Overview
0
Commits
6
Pipelines
0
Changes
8
Expand
Nice singularity prompt
Use ls colors
More transparent environment setup (copy scripts instead of writing them in the Dockerfile)
Double-check all still works
Edited
3 years ago
by
Sylvester Joosten
0
0
Merge request reports
Viewing commit
4a672be3
Prev
Next
Show latest version
8 files
+
73
−
48
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
8
Search (e.g. *.vue) (Ctrl+P)
4a672be3
Improved environment setup
· 4a672be3
Sylvester Joosten
authored
3 years ago
containers/jug/profile.d/a00_setup.sh
0 → 100755
+
30
−
0
Options
#!/bin/bash
## Force environment to be clean
export
LD_LIBRARY_PATH
=
"/lib/x86_64-linux-gnu:/usr/local/lib64:/usr/local/lib"
export
PATH
=
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[
!
-z
"
$CC
"
]
&&
unset
CC
[
!
-z
"
$CXX
"
]
&&
unset
CXX
[
!
-z
"
$JUPYTER_CONFIG_DIR
"
]
&&
unset
JUPYTER_CONFIG_DIR
[
!
-z
"
$JUPYTER_PATH
"
]
&&
unset
JUPYTER_PATH
[
!
-z
"
$CLING_STANDARD_PCH
"
]
&&
unset
CLING_STANDARD_PCH
[
!
-z
"
$USER_PATH
"
]
&&
unset
USER_PATH
[
!
-z
"
$SHLIB_PATH
"
]
&&
unset
SHLIB_PATH
[
!
-z
"
$LIBPATH
"
]
&&
unset
$LIBPATH
[
!
-z
"
$CMAKE_PREFIX_PATH
"
]
&&
unset
CMAKE_PREFIX_PATH
[
!
-z
"
$SOFTWARE_HOME
"
]
&&
unset
SOFTWARE_HOME
[
!
-z
"
$ROOTSYS
"
]
&&
unset
ROOTSYS
export
PS1
=
'eic-shell>
\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
export
LS_COLORS
=
'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33'
export
GREP_OPTIONS
=
'--color=auto'
function
ls
{
/bin/ls
--color
=
auto
}
function
less
{
/usr/bin/less
-RAW_CONTROL_CHARS
}
export
-f
ls
export
-f
less
Loading