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

[Question] How to use the Dockerfile #308

Closed
3 tasks done
chenyinlin1 opened this issue Mar 10, 2024 · 3 comments
Closed
3 tasks done

[Question] How to use the Dockerfile #308

chenyinlin1 opened this issue Mar 10, 2024 · 3 comments
Labels
question Further information is requested

Comments

@chenyinlin1
Copy link

Required prerequisites

Questions

Hello Author. I want to create an image using a Dockerfile file. But after using the command 'docker build -t test/omnisafe:v0 . ' after that, an error occurs, and after trying to change it, there are still other errors reported, is there something wrong with the way I'm using it?
image

@chenyinlin1 chenyinlin1 added the question Further information is requested label Mar 10, 2024
@Gaiejj
Copy link
Member

Gaiejj commented Mar 12, 2024

We have successfully reproduced the issue you encountered and found that by removing the --no-build-isolation parameter from line 22 of the Makefile, the image can be successfully built with the command

docker build --target base --tag omnisafe:latest .

@chenyinlin1
Copy link
Author

Thanks

@Gaiejj
Copy link
Member

Gaiejj commented Apr 6, 2024

Closed due to no further questions. You're welcome to reopen it if you happen to have more issues.

@Gaiejj Gaiejj closed this as completed Apr 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants