NREL / docker-openstudio

Repository for managing the builds of OpenStudio Docker images.
22 stars 12 forks source link

add image for platform arm64 #137

Open kylegoetz opened 3 years ago

kylegoetz commented 3 years ago

That will enable Docker images to run natively on the new Apple architecture.

You use docker buildx instead of docker build for this to create multi-architecture images instead of just producing the amd64 one that will run natively on those chips but with emulation on others. An example would be

docker buildx build \
  --platform darwin/arm64/v8,linux/amd64
  --tag nrel/openstudio:x.y.z
kylegoetz commented 3 years ago

I tried myself. Seems there is no OpenStudio built for Apple Silicon yet, so it's not possible to produce an arm64 Docker image (yet).

tijcolem commented 3 years ago

Hi @kylegoetz This is would be very nice to have - a full arm based docker image for mac. As you already mentioned, OpenStudio SDK will need to release M1 arm based binaries first for that to happen. This is on our radar for sure, but nothing scheduled as of yet.

DavidGoldwasser commented 1 year ago

Can this be closed. I don't have access to