Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LRS Development Environment - Common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
lrs
LRS Development Environment - Common
Commits
aac67757
Commit
aac67757
authored
3 years ago
by
Tommy Persson
Browse files
Options
Downloads
Patches
Plain Diff
Work on swarm dev env
parent
71671d4c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
script/wslrun
+25
-0
25 additions, 0 deletions
script/wslrun
with
25 additions
and
0 deletions
script/wslrun
0 → 100755
+
25
−
0
View file @
aac67757
#!/bin/bash
if
[[
$(
lsb_release
-rs
)
==
"18.04"
]]
;
then
docker run
\
--ulimit
nofile
=
1024
\
--ipc
=
host
\
-v
/tmp/.X11-unix:/tmp/.X11-unix
\
-v
/tmp:/exttmp
\
-e
DISPLAY
=
unix
${
DISPLAY
}
\
-e
ROS_HOSTNAME
=
localhost
\
--rm
-it
--name
devenv gitlab.liu.se:5000/lrs/devenv_docker_images/lrs-melodic:devel
"
$@
"
elif
[[
$(
lsb_release
-rs
)
==
"20.04"
]]
;
then
docker run
\
--ulimit
nofile
=
1024
\
--ipc
=
host
\
-v
/tmp/.X11-unix:/tmp/.X11-unix
\
-v
/tmp:/exttmp
\
-e
DISPLAY
=
unix
${
DISPLAY
}
\
-e
ROS_HOSTNAME
=
localhost
\
--rm
-it
--name
devenv gitlab.liu.se:5000/lrs/devenv_docker_images/lrs-noetic:devel
"
$@
"
else
echo
"Unsupported operating system"
fi
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment