Skip to content

Commit

Permalink
Issue #443 - Add notes to documentation explaining what architectures…
Browse files Browse the repository at this point in the history
… are supported
  • Loading branch information
ppodgorsek authored Sep 18, 2023
1 parent e1c257b commit 789e09b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,19 +282,19 @@ It is anyway mandatory to extend the container image to install the specific dat

### Supported devices and architectures

As mentioned on the [Docker Hub](https://hub.docker.com/r/ppodgorsek/robot-framework), the project has been built and uploaded as a `linux/amd64` image. This means ARM devices won't be able to run the image with the default configuration.
As mentioned on the [Docker Hub](https://hub.docker.com/r/ppodgorsek/robot-framework), the project has been built and uploaded as a `linux/amd64` image only. This means ARM devices such as MacBook M1/M2 and Amazon EC2 Graviton won't be able to run the image with the default configuration.

Podman and Docker provide a `--platform` option which emulates a given application architecture, such as:
As mentioned in the official documentation, [Podman](https://docs.podman.io/en/latest/markdown/podman-run.1.html#platform-os-arch) and [Docker](https://docs.docker.com/build/building/multi-platform/) provide a `--platform` option which selects a given application architecture, such as:

docker run \
--platform linux/amd64 \
-v <local path to the reports' folder>:/opt/robotframework/reports:Z \
-v <local path to the test suites' folder>:/opt/robotframework/tests:Z \
ppodgorsek/robot-framework:<version>

Please note: such emulation might not work, depending on your device and operating system.
Please note: builds and automated tests of this project will remain performed on a `linux/amd64` architecture so such emulation might not work, depending on your device and operating system.

If this does not solve your platform-related issues, you will have to rebuild the image for your device/platform.
If this does not solve your platform-related issues, you will have to rebuild the image for your device/platform, specifying that `--platform` option during the build and run.

## Please contribute!

Expand Down

0 comments on commit 789e09b

Please sign in to comment.