Skip to content

Commit 783a059

Browse files
authored
Merge pull request #451 from ppodgorsek/issue-443
Issue #443 - Add notes to documentation explaining what architectures are supported
2 parents fb8147a + 650ae90 commit 783a059

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,22 @@ It is anyway mandatory to extend the container image to install the specific dat
280280
* [Oracle](https://www.oracle.com/uk/database/technologies/appdev/python.html): `pip install py2oracle`
281281
* [PostgreSQL](http://pybrary.net/pg8000/index.html): `pip install pg8000`
282282

283+
### Supported devices and architectures
284+
285+
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.
286+
287+
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:
288+
289+
docker run \
290+
--platform linux/amd64 \
291+
-v <local path to the reports' folder>:/opt/robotframework/reports:Z \
292+
-v <local path to the test suites' folder>:/opt/robotframework/tests:Z \
293+
ppodgorsek/robot-framework:<version>
294+
295+
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.
296+
297+
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.
298+
283299
## Please contribute!
284300

285301
Have you found an issue? Do you have an idea for an improvement? Feel free to contribute by submitting it [on the GitHub project](https://github.com/ppodgorsek/docker-robot-framework/issues).

0 commit comments

Comments
 (0)