Build files for ROS docker images
Go to file
2023-04-13 12:43:05 +02:00
dockerfile.amd64 initial commit 2023-04-13 12:39:14 +02:00
dockerfile.arm64 initial commit 2023-04-13 12:39:14 +02:00
readme.md update 2023-04-13 12:43:05 +02: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

docker buildx build --platform linux/amd64 --build-arg GHCR_TOKEN=<your_token> -f ./dockerfile.amd64 -t ghcr.io/bjoernellens1/ros:humble-amd64 .

or docker buildx build --platform linux/arm64 --build-arg GHCR_TOKEN=<your_token> -f ./dockerfile.arm64 -t ghcr.io/bjoernellens1/ros:humble-arm64 .

docker buildx build --platform linux/arm64 --build-arg GHCR_TOKEN=<your_token> -f ./dockerfile.arm64 -t ghcr.io/bjoernellens1/ros:humble-arm64 . --push