Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build base image on ubuntu 20.04 failed with permission denied #5

Open
jerrychenhf opened this issue Sep 3, 2023 · 0 comments
Open

Comments

@jerrychenhf
Copy link

Executing the following script on a Ubuntu 20.04 machine to build a base image:

WORKING_DIR=/tmp/habanaai
rm -rf $WORKING_DIR
mkdir -p $WORKING_DIR
cd $WORKING_DIR
git clone https://github.com/HabanaAI/Setup_and_Install.git
cd $WORKING_DIR/Setup_and_Install/dockerfiles/base
make build BUILD_OS=ubuntu20.04

It failed with Permission denied error. install_efa.sh file doesn't have x permission and "RUN ./install_efa.sh && rm install_efa.sh" failed. replace it with "RUN /bin/bash ./install_efa.sh && rm install_efa.sh" solved the problem.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant