[Issue]: AutoGen Studio devcontainer - frontend build requires rsync
Describe the issue
Can't build samples/apps/autogenstudio/frontend - missing rsync.
Followed the instructions in samples/apps/autogenstudio but frontend build seems to require rsync to complete successfully now.
From package.json
"build": "gatsby clean && rm -rf ../autogenstudio/web/ui && PREFIX_PATH_VALUE='' gatsby build --prefix-paths && rsync -a --delete public/ ../autogenstudio/web/ui/",
Steps to reproduce
-
Open the codebase in an IDE (i.e. VSCode) using any of the provided devcontainers
-
Navigate to the
samples/apps/autogen-studio/frontenddirectory, install dependencies, and build the UI:```bash npm install -g gatsby-cli npm install --global yarn cd frontend yarn install yarn build ```
Build fails, rsync is not installed in the devcontainer.
/bin/sh: 1: rsync: not found
error Command failed with exit code 127.
Screenshots and logs
Additional Information
No response
not sure whether all of the Dockerfile's or just dev and full should be updated to include rsync in the list of packages installed using apt-get but simply adding rsync to the list and rebuilding the devcontainer fixes the issue.
Thanks for pointing this out @kasiprasad . Adding rsync to the package requirements is a good starting point. It might be even better to figure out build commands that work ootb with most environments (rsync is only used to copy the built UI into the python package.)