Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
ROS-Kubernetes
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Larkin Heintzman
ROS-Kubernetes
Commits
303fdd86
Commit
303fdd86
authored
Nov 02, 2022
by
Larkin Heintzman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added kubernetes environment file
parent
3830a526
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
Dockerfile
docker/yolo/Dockerfile
+4
-1
dorknet_kube_env.sh
docker/yolo/dorknet_kube_env.sh
+9
-0
No files found.
docker/yolo/Dockerfile
View file @
303fdd86
...
@@ -36,7 +36,10 @@ RUN apt-get install -y python-rosdep python-rosinstall python-rosinstall-generat
...
@@ -36,7 +36,10 @@ RUN apt-get install -y python-rosdep python-rosinstall python-rosinstall-generat
RUN
mkdir
-p
catkin_ws/src
&&
mkdir
-p
/tmp/darknetMemories
RUN
mkdir
-p
catkin_ws/src
&&
mkdir
-p
/tmp/darknetMemories
# darknet ros package install
# darknet ros package install
COPY
./yolov4-for-darknet_ros /catkin_ws/src/darknet_package
COPY
./yolov4-for-darknet_ros /catkin_ws/src/darknet_package
# build the enclosed darknet installation
# copy over environment file to allow remote roslaunch
COPY
./dorknet_kube_env.sh /opt/ros/melodic/dorknet_kube_env.sh
# install random pip thing and run catkin_make
# install random pip thing and run catkin_make
RUN
/bin/bash
-c
'. /opt/ros/melodic/setup.bash && cd catkin_ws && catkin_make'
RUN
/bin/bash
-c
'. /opt/ros/melodic/setup.bash && cd catkin_ws && catkin_make'
...
...
docker/yolo/dorknet_kube_env.sh
0 → 100644
View file @
303fdd86
#!/bin/bash
export
ROS_WS
=
/catkin_ws
source
$ROS_WS
/devel/setup.bash
export
PATH
=
$ROS_ROOT
/bin:
$PATH
export
ROS_PACKAGE_PATH
=
$ROS_PACKAGE_PATH
:
$ROS_WS
export
ROS_MASTER_URI
=
http://service-master:11311
export
ROS_HOSTNAME
=
service-dorknet
export
ROS_LOG_DIR
=
/root/.ros/log
exec
"
$@
"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment