Open abdulbasetbasher opened 1 month ago
Either when you build it that way, will it also work for x86 machines, or do we have to build a separate one ARM a separate one for x86 machines?
Either when you build it that way, will it also work for x86 machines, or do we have to build a separate one ARM a separate one for x86 machines?
im not expert on docker but docker hub support multi arch image via buildx or manifest, the python image that jesse built on it follow that approach btw.
that way its easy for me to build arm64 image on my apple m2 machine
it will be easy to build multi arch image using GitHub Actions and buildx.
Thank you, that's very helpful.
Thank you, that's very helpful.
check it out https://docs.docker.com/build/ci/github-actions/multi-platform/
only thing need to figure out is how to make arch dynamic in /install_ta-lib.sh
Other than that, I didn't know I could build Docker images with GitHub Actions. I was using a separate VPS for it, so this will save me money as well.
@saleh-mir opened a PR for this: https://github.com/jesse-ai/jesse/pull/485
docker image built only for amd64 and that make it run slow on apple silicon cpu , windows on arm or linux arm64.
I built the image but with change line 11 on docker_build_helpers/install_ta-lib.sh
to
&& ./configure --build=aarch64-unknown-linux-gnu --prefix=${INSTALL_LOC}/ \
and its works fine and the performance is good.