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

Docker build args #10

Open
Beans0063 opened this issue Dec 27, 2022 · 1 comment
Open

Docker build args #10

Beans0063 opened this issue Dec 27, 2022 · 1 comment
Assignees

Comments

@Beans0063
Copy link

When building with docker, what --build-arg values should be used to set the ARG variables?

@cmaf5
Copy link
Collaborator

cmaf5 commented Jan 3, 2023

You can use

--build-arg username=$(id -un) --build-arg uid=$(id -u) --build-arg gid=$(id -g) --build-arg groupname=$(id -gn)

We will soon update our documentation to contain proper instructions similar to MediaPipe's Docker installation guide.

@cmaf5 cmaf5 closed this as completed Jan 3, 2023
@cmaf5 cmaf5 reopened this Jan 3, 2023
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

2 participants