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
336dcad9
Commit
336dcad9
authored
3 years ago
by
Jonas Kvarnström
Browse files
Options
Downloads
Patches
Plain Diff
else: echo unsupported operating system
parent
3fa7faa5
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
script/werun
+5
-2
5 additions, 2 deletions
script/werun
script/wgrun
+4
-2
4 additions, 2 deletions
script/wgrun
script/wpull
+4
-2
4 additions, 2 deletions
script/wpull
script/wrun
+4
-2
4 additions, 2 deletions
script/wrun
with
17 additions
and
8 deletions
script/werun
+
5
−
2
View file @
336dcad9
...
@@ -15,9 +15,9 @@ docker run --gpus all \
...
@@ -15,9 +15,9 @@ docker run --gpus all \
-e
__NV_PRIME_RENDER_OFFLOAD_PROVIDER
=
NVIDIA-G1
\
-e
__NV_PRIME_RENDER_OFFLOAD_PROVIDER
=
NVIDIA-G1
\
-e
__GLX_VENDOR_LIBRARY_NAME
=
nvidia
\
-e
__GLX_VENDOR_LIBRARY_NAME
=
nvidia
\
--rm
-it
--name
devenv gitlab.liu.se:5000/lrs/devenv_docker_images/lrs-melodic:devel
"
$@
"
--rm
-it
--name
devenv gitlab.liu.se:5000/lrs/devenv_docker_images/lrs-melodic:devel
"
$@
"
fi
if
[[
$(
lsb_release
-rs
)
==
"20.04"
]]
;
then
elif
[[
$(
lsb_release
-rs
)
==
"20.04"
]]
;
then
docker run
--gpus
all
\
docker run
--gpus
all
\
--network
host
\
--network
host
\
--security-opt
apparmor:unconfined
\
--security-opt
apparmor:unconfined
\
...
@@ -30,4 +30,7 @@ docker run --gpus all \
...
@@ -30,4 +30,7 @@ docker run --gpus all \
-e
__NV_PRIME_RENDER_OFFLOAD_PROVIDER
=
NVIDIA-G1
\
-e
__NV_PRIME_RENDER_OFFLOAD_PROVIDER
=
NVIDIA-G1
\
-e
__GLX_VENDOR_LIBRARY_NAME
=
nvidia
\
-e
__GLX_VENDOR_LIBRARY_NAME
=
nvidia
\
--rm
-it
--name
devenv gitlab.liu.se:5000/lrs/devenv_docker_images/lrs-noetic:devel
"
$@
"
--rm
-it
--name
devenv gitlab.liu.se:5000/lrs/devenv_docker_images/lrs-noetic:devel
"
$@
"
else
echo
"Unsupported operating system"
fi
fi
This diff is collapsed.
Click to expand it.
script/wgrun
+
4
−
2
View file @
336dcad9
...
@@ -11,9 +11,8 @@ docker run --gpus all \
...
@@ -11,9 +11,8 @@ docker run --gpus all \
-e
DISPLAY
=
unix
${
DISPLAY
}
\
-e
DISPLAY
=
unix
${
DISPLAY
}
\
-e
ROS_HOSTNAME
=
localhost
\
-e
ROS_HOSTNAME
=
localhost
\
--rm
-it
--name
devenv gitlab.liu.se:5000/lrs/devenv_docker_images/lrs-melodic:devel
"
$@
"
--rm
-it
--name
devenv gitlab.liu.se:5000/lrs/devenv_docker_images/lrs-melodic:devel
"
$@
"
fi
if
[[
$(
lsb_release
-rs
)
==
"20.04"
]]
;
then
el
if
[[
$(
lsb_release
-rs
)
==
"20.04"
]]
;
then
docker run
--gpus
all
\
docker run
--gpus
all
\
--network
host
\
--network
host
\
--security-opt
apparmor:unconfined
\
--security-opt
apparmor:unconfined
\
...
@@ -24,4 +23,7 @@ docker run --gpus all \
...
@@ -24,4 +23,7 @@ docker run --gpus all \
-e
DISPLAY
=
unix
${
DISPLAY
}
\
-e
DISPLAY
=
unix
${
DISPLAY
}
\
-e
ROS_HOSTNAME
=
localhost
\
-e
ROS_HOSTNAME
=
localhost
\
--rm
-it
--name
devenv gitlab.liu.se:5000/lrs/devenv_docker_images/lrs-noetic:devel
"
$@
"
--rm
-it
--name
devenv gitlab.liu.se:5000/lrs/devenv_docker_images/lrs-noetic:devel
"
$@
"
else
echo
"Unsupported operating system"
fi
fi
This diff is collapsed.
Click to expand it.
script/wpull
+
4
−
2
View file @
336dcad9
...
@@ -3,11 +3,13 @@
...
@@ -3,11 +3,13 @@
if
[[
$(
lsb_release
-rs
)
==
"18.04"
]]
;
then
if
[[
$(
lsb_release
-rs
)
==
"18.04"
]]
;
then
echo
"Pulling gitlab.liu.se:5000/lrs/devenv_docker_images/lrs-melodic:devel"
echo
"Pulling gitlab.liu.se:5000/lrs/devenv_docker_images/lrs-melodic:devel"
docker pull gitlab.liu.se:5000/lrs/devenv_docker_images/lrs-melodic:devel
docker pull gitlab.liu.se:5000/lrs/devenv_docker_images/lrs-melodic:devel
fi
if
[[
$(
lsb_release
-rs
)
==
"20.04"
]]
;
then
el
if
[[
$(
lsb_release
-rs
)
==
"20.04"
]]
;
then
echo
"Pulling gitlab.liu.se:5000/lrs/devenv_docker_images/lrs-noetic:devel"
echo
"Pulling gitlab.liu.se:5000/lrs/devenv_docker_images/lrs-noetic:devel"
docker pull gitlab.liu.se:5000/lrs/devenv_docker_images/lrs-noetic:devel
docker pull gitlab.liu.se:5000/lrs/devenv_docker_images/lrs-noetic:devel
else
echo
"Unsupported operating system"
fi
fi
This diff is collapsed.
Click to expand it.
script/wrun
+
4
−
2
View file @
336dcad9
...
@@ -10,9 +10,8 @@ docker run \
...
@@ -10,9 +10,8 @@ docker run \
-e
DISPLAY
=
unix
${
DISPLAY
}
\
-e
DISPLAY
=
unix
${
DISPLAY
}
\
-e
ROS_HOSTNAME
=
localhost
\
-e
ROS_HOSTNAME
=
localhost
\
--rm
-it
--name
devenv gitlab.liu.se:5000/lrs/devenv_docker_images/lrs-melodic:devel
"
$@
"
--rm
-it
--name
devenv gitlab.liu.se:5000/lrs/devenv_docker_images/lrs-melodic:devel
"
$@
"
fi
if
[[
$(
lsb_release
-rs
)
==
"20.04"
]]
;
then
el
if
[[
$(
lsb_release
-rs
)
==
"20.04"
]]
;
then
docker run
\
docker run
\
--network
host
\
--network
host
\
--ulimit
nofile
=
1024
\
--ulimit
nofile
=
1024
\
...
@@ -22,4 +21,7 @@ docker run \
...
@@ -22,4 +21,7 @@ docker run \
-e
DISPLAY
=
unix
${
DISPLAY
}
\
-e
DISPLAY
=
unix
${
DISPLAY
}
\
-e
ROS_HOSTNAME
=
localhost
\
-e
ROS_HOSTNAME
=
localhost
\
--rm
-it
--name
devenv gitlab.liu.se:5000/lrs/devenv_docker_images/lrs-noetic:devel
"
$@
"
--rm
-it
--name
devenv gitlab.liu.se:5000/lrs/devenv_docker_images/lrs-noetic:devel
"
$@
"
else
echo
"Unsupported operating system"
fi
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