localstack / localstack-java-utils

☕ Java utilities and JUnit integration for LocalStack
Apache License 2.0
75 stars 43 forks source link

Enable the specification of "platform" when configuring localstack container #50

Closed nofranks closed 3 years ago

nofranks commented 3 years ago

This PR enables the specification of the platform argument when configuring a localstack container using the @LocalstackDockerProperties annotation.

The prinicpal reason for this is to enable such tests to be written and executed on apple silicon. Presently, the command to run the container returns a container id prefixed with a warning message, which prevents the test from being able to detect when the container is ready. Including the platform with the value "linux_amd64" runs the image as an emulation and results in the expected container id being returned

whummer commented 3 years ago

Great, thanks for the quick turnaround!