New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot build Docker image on Apple Silicon #1779
Comments
I have the same problem, please have a look at this. 🙏 |
Same in my case, did you find a solution by any chance? |
I was implementing support for mac arm_64 architecture, but I found a workaround:
Therefore I didn't finish the implementation, this is a WIP patch -- diff --git a/docker-java-transport-netty/pom.xml b/docker-java-transport-netty/pom.xml
index f9bc3bed..e4c26cf6 100644
--- a/docker-java-transport-netty/pom.xml
+++ b/docker-java-transport-netty/pom.xml
@@ -49,6 +49,12 @@
<version>${netty.version}</version>
<classifier>osx-x86_64</classifier>
</dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-transport-native-kqueue</artifactId>
+ <version>${netty.version}</version>
+ <classifier>osx-aarch_64</classifier>
+ </dependency>
</dependencies>
<build>
diff --git a/pom.xml b/pom.xml
index 4a036a8e..69f90abd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -68,12 +68,12 @@
<slf4j-api.version>1.7.30</slf4j-api.version>
<bouncycastle.version>1.64</bouncycastle.version>
- <junixsocket.version>2.3.2</junixsocket.version>
+ <junixsocket.version>2.4.0</junixsocket.version>
<guava.version>19.0</guava.version> <!-- todo remove from project -->
<!-- test dependencies -->
<logback.version>1.2.3</logback.version>
- <netty.version>4.1.46.Final</netty.version>
+ <netty.version>4.1.73.Final</netty.version>
<hamcrest.library.version>2.2</hamcrest.library.version>
<hamcrest.jpa-matchers>1.8</hamcrest.jpa-matchers>
<lambdaj.version>2.3.3</lambdaj.version> |
You can try this while waiting for complete implementation:
In my case, that's how it worked for now. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I don't think this is fix, is there a plan for completing the implementation? |
I'm using a new Apple Silicon Mac and tried to build a Micronaut application. The Micronaut Gradle plugin uses the gradle-docker-plugin under the hood. This issue was initially reported at bmuschko/gradle-docker-plugin#1035.
Is this a known issue?
The text was updated successfully, but these errors were encountered: