Sign inSign up

alpineros/ros-abuild

By alpineros

•Updated over 5 years ago

MOVED TO https://github.com/alpine-ros/ros-abuild-docker/pkgs/container/ros-abuild

Image
0

10K+

alpineros/ros-abuild repository overview

⁠This repository is moved to GitHub Container Registry⁠

https://github.com/alpine-ros/ros-abuild-docker/pkgs/container/ros-abuild⁠

⁠ros-abuild-docker

Alpine Linux package builder for ROS (Robot Operating System)

⁠Build builder container

docker pull ghcr.io/alpine-ros/ros-abuild:3.11-noetic

or build locally

docker build \
  --build-arg ROS_DISTRO=noetic \
  --build-arg ALPINE_VERSION=3.11 \
  --build-arg ROS_PYTHON_VERSION=3 \
  -t ghcr.io/alpine-ros/ros-abuild:3.11-noetic .

⁠Build ROS package(s)

⁠Just build and test

Run following command at the root of the ROS package repository:

docker run -it --rm \
  -v $(pwd):/src:ro \
  ghcr.io/alpine-ros/ros-abuild:3.11-noetic

($(pwd) can be replaced by a full path to the ROS package repository.)

If *.rosinstall file is present, packages specified in the file will be automatically cloned and built.

⁠Get generated apk packages

Create a directory to store packages.

mkdir -p /path/to/your/packages

Build and output generated packages to the directory.

docker run -it --rm \
  -v $(pwd):/src:ro \
  -v /path/to/your/packages:/packages \
  ghcr.io/alpine-ros/ros-abuild:3.11-noetic
⁠Build with cache

Create docker volume to store Alpine package cache and rosdep cache.

docker volume create ros-abuild-apk
docker volume create ros-abuild-rosdep

Build with cache.

mkdir -p /path/to/your/packages  # Create a directory to store packages.
docker run -it --rm \
  -v $(pwd):/src:ro \
  -v ros-abuild-apk:/var/cache/apk \
  -v ros-abuild-rosdep:/home/builder/.ros/rosdep \
  -e SKIP_ROSDEP_UPDATE=true \
  ghcr.io/alpine-ros/ros-abuild:3.11-noetic

Tag summary

Content type

Image

Digest

Size

96.3 MB

Last updated

over 5 years ago

docker pull alpineros/ros-abuild:3.14-noetic