ADE entrypoint not working on OSX
Description
ApexAI/ade-cli!38 (merged) adds experimental support for ADE on OSX; however, when starting on OSX, the entrypoint is trying to add the dialout
group which fails, preventing ADE from starting: ApexAI/ade-cli!38 (comment 347663391)
Expected behavior
The entrypoint provides a way to gracefully skip the addition of the dialout
group
Workaround
- Create a Dockerfile that patches dialout:
FROM registry.gitlab.com/autowarefoundation/autoware.auto/autowareauto/ade:master
RUN sed -i -E 's/groupadd (.+) dialout/groupadd \1 dialout || true/g' ade_entrypoint
- Build it
docker build -t autoware:osx /path/to/Dockerfile
- Replace
registry.gitlab.com/autowarefoundation/autoware.auto/autowareauto/ade:master
withautoware:osx
in the.aderc
ade start
Definition of Done
-
Autoware's ADE image works with ade-cli
on OSX
Edited by Juan Pablo Samper