ktorio / ktor-build-plugins

Ktor Plugins for Build Systems
Apache License 2.0
56 stars 10 forks source link

runDocker fails on M1 Mac #63

Closed lkb2k closed 1 year ago

lkb2k commented 1 year ago

Trying to run runDocker on a Mac with an Apple Silicon cpu fails. It looks like the build step is picking up the amd64 version of the base image even though the base container eclipse-temurin:17-jre, provides arm64 builds.

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

How can you override the base image used to build the Docker container?

Stexxe commented 1 year ago

I've tested it on an M1 Mac and it works with the warning. Do you have the Docker Desktop installed? Please leave comments on this issue in YouTrack.