cps_ros_builder/readme.md

13 lines
539 B
Markdown
Raw Permalink Normal View History

2023-04-13 10:43:05 +00:00
To build:
cannot build two architectures at the same time because of the precompiled libraries of segwayrmp.
Build command:
docker buildx create --name mybuilder
docker buildx use mybuilder
export DOCKER_CLI_EXPERIMENTAL=enabled
2023-04-13 10:44:19 +00:00
docker buildx build --platform linux/arm64 --build-arg GHCR_TOKEN=<your_token> -f ./dockerfile.amd64 -t ghcr.io/bjoernellens1/ros:humble-amd64 . --push
2023-04-13 10:43:05 +00:00
or
docker buildx build --platform linux/arm64 --build-arg GHCR_TOKEN=<your_token> -f ./dockerfile.arm64 -t ghcr.io/bjoernellens1/ros:humble-arm64 . --push