Skip to content

Commit

Permalink
Update gitlab CI. Add Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
juraph-dev committed Apr 3, 2024
1 parent f93d99a commit 76700bb
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ build:
- apt-get update -y

script:
- . /opt/ros/galactic/setup.sh
- git submodule init
- git submodule update
- . /opt/ros/humble/setup.sh
- git submodule update --init --recursive
- colcon build --event-handlers console_direct+
variables:
GIT_STRATEGY: clone
Expand Down
16 changes: 16 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM ros:humble-ros-base

# Add ornis user
RUN useradd -ms /bin/bash ornis
WORKDIR /home/ornis

RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get clean

# install ORNIS deps
RUN apt-get install -y build-essential cmake doctest-dev libavdevice-dev libdeflate-dev libgpm-dev \
libncurses-dev libqrcodegen-dev libswscale-dev libunistring-dev pandoc pkg-config \
ros-humble-rmw-fastrtps-dynamic-cpp git

user ornis

0 comments on commit 76700bb

Please sign in to comment.