From 56de6b83d27e5f33d525b19921ac2845b46de353 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ellensohn?= Date: Thu, 13 Apr 2023 12:43:05 +0200 Subject: [PATCH] update --- readme.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 readme.md diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..a1f9d25 --- /dev/null +++ b/readme.md @@ -0,0 +1,14 @@ +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= -f ./dockerfile.amd64 -t ghcr.io/bjoernellens1/ros:humble-amd64 . + +or +docker buildx build --platform linux/arm64 --build-arg GHCR_TOKEN= -f ./dockerfile.arm64 -t ghcr.io/bjoernellens1/ros:humble-arm64 . + +docker buildx build --platform linux/arm64 --build-arg GHCR_TOKEN= -f ./dockerfile.arm64 -t ghcr.io/bjoernellens1/ros:humble-arm64 . --push