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
8ceeb352
Commit
8ceeb352
authored
Dec 02, 2021
by
Larkin Heintzman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
working drone image build
parent
bdfe40fb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
Dockerfile
llhApproach/docker/drone/Dockerfile
+2
-2
plathDeployment.yaml
llhApproach/kubernetes/plathDeployment.yaml
+4
-2
No files found.
llhApproach/docker/drone/Dockerfile
View file @
8ceeb352
...
@@ -5,7 +5,7 @@ FROM ${from}
...
@@ -5,7 +5,7 @@ FROM ${from}
# python-catkin-tools \
# python-catkin-tools \
# && rm -rf /var/lib/apt/lists/*
# && rm -rf /var/lib/apt/lists/*
RUN
apt-get update
&&
apt-get
install
-y
python3-pip git ca-certificates
RUN
apt-get update
&&
apt-get
install
-y
python3-pip git ca-certificates
RUN
apt-get update
&&
apt-get
install
-y
libsdl2-dev libusb-1.0-0-dev build-essential cmake
gcc
ffmpeg python3-opencv libavcodec-dev libavdevice-dev libavfilter-dev libavformat-dev libavresample-dev libavutil-dev libpostproc-dev libswresample-dev libswscale-dev
RUN
apt-get update
&&
apt-get
install
-y
libsdl2-dev libusb-1.0-0-dev build-essential cmake ffmpeg python3-opencv libavcodec-dev libavdevice-dev libavfilter-dev libavformat-dev libavresample-dev libavutil-dev libpostproc-dev libswresample-dev libswscale-dev
RUN
apt-get update
&&
apt-get
install
-y
ros-noetic-tf
RUN
apt-get update
&&
apt-get
install
-y
ros-noetic-tf
RUN
pip3
install
git+https://github.com/catkin/catkin_tools.git
RUN
pip3
install
git+https://github.com/catkin/catkin_tools.git
...
@@ -51,7 +51,7 @@ RUN apt-get update && \
...
@@ -51,7 +51,7 @@ RUN apt-get update && \
# build ros package source
# build ros package source
RUN
catkin config
\
RUN
catkin config
\
--extend
/opt/ros/
$ROS_DISTRO
&&
\
--extend
/opt/ros/
$ROS_DISTRO
&&
\
catkin build
catkin build
--cmake-args
-DCMAKE_CXX_FLAGS
=
"-std=c++17"
# \
# \
# roscpp_tutorials
# roscpp_tutorials
...
...
llhApproach/kubernetes/plathDeployment.yaml
View file @
8ceeb352
...
@@ -20,11 +20,13 @@ spec:
...
@@ -20,11 +20,13 @@ spec:
node
:
drone
node
:
drone
spec
:
spec
:
containers
:
containers
:
# The real node container
-
name
:
drone
-
name
:
droneContainer
image
:
llh/drone:v0
image
:
llh/drone:v0
command
:
[
"
/bin/bash"
]
command
:
[
"
/bin/bash"
]
args
:
[
"
-c"
,
"
source
/opt/ros_ws/devel/setup.bash
&&
/usr/local/bin/bashCheckRoscore.sh
&&
rostopic
pub
-r
1
plathReady
std_msgs/String
'ready'"
]
args
:
[
"
-c"
,
"
source
/opt/ros_ws/devel/setup.bash
&&
/usr/local/bin/bashCheckRoscore.sh
&&
rostopic
pub
-r
1
plathReady
std_msgs/String
'ready'"
]
ports
:
-
containerPort
:
11311
name
:
droneport
env
:
env
:
-
name
:
ROS_MASTER_URI
-
name
:
ROS_MASTER_URI
value
:
http://service-master:11311
value
:
http://service-master:11311
...
...
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