clement-igonet opened a new issue, #6735: URL: https://github.com/apache/incubator-devlake/issues/6735
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar issues. ### What happened My goal is to build DevLake docker images locally, to take advantage of very last changes in main, or to test my own changes. * As suggested in https://devlake.apache.org/docs/DeveloperManuals/DeveloperSetup/ , I copy env.example to .env * Then I launched `docker compose -f docker-compose-dev.yml build` * Here is the issue I'm facing: ``` => [devlake debian-amd64 2/3] RUN apt-get update 6.8s => CANCELED [devlake base 2/10] RUN apt-get update && apt-get install -y python3-dev python3-pip tar curl libssh2-1 zlib1g libffi-dev default-libmysqlclient-dev libpq-dev tini && apt-get clean && rm -fr /usr/s 8.9s => CANCELED [devlake debian-amd64 3/3] RUN apt-get install -y libssh2-1-dev libssl-dev zlib1g-dev 2.4s => ERROR [devlake debian-arm64 2/3] RUN apt-get update 2.3s => CANCELED [devlake builder 2/14] RUN apt-get update 0.8s ------ > [devlake debian-arm64 2/3] RUN apt-get update: 0.347 exec /bin/sh: exec format error ------ failed to solve: process "/bin/sh -c apt-get update" did not complete successfully: exit code: 1 ``` A workaround is to remove all code specific to arm64 in `Dockerfile` ### What do you expect to happen Ability to build from `docker compose build` ### How to reproduce From a AMD64 arch: ``` cp env.example .env docker compose -f docker-compose-dev.yml build ``` ### Anything else _No response_ ### Version main ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
