Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Talk:BaSyx / Documentation / Components / Docker

< Talk:BaSyx
Revision as of 07:21, 18 October 2021 by Unnamed Poltroon (Talk) (Created page with "===How to create Images for ARM?=== If you want to build the Image directly on an ARM device, you can just follow the instructions above. This shows how to crossbuild an ARM...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

How to create Images for ARM?

If you want to build the Image directly on an ARM device, you can just follow the instructions above. This shows how to crossbuild an ARM image on an x86 CPU.

As prerequisite you need a Docker installation with the Buildx plugin. Buildx comes prepackaged with Docker Desktop or can easily be installed if missing.

  1. Run the mvn install -Pdocker command as described above
  2. Run the following command in the root directory of the project you want to build. E.g. .../components/basys.components/basyx.components.docker/basyx.components.AASServer.
    The JAR_FILE argument has to be changed to match the name of the .jar file in .../target.


Building the AAS-Server:

docker buildx build --load --platform linux/arm/v7 --build-arg JAR_FILE=basyx.components.AASServer-1.0.1.jar --build-arg PORT=4001 --tag aas-server:1.0.1-arm32v7 .

Back to the top