Skip to content

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

Description

@jerrychenhf

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions