Skip to content
This repository was archived by the owner on Dec 3, 2024. It is now read-only.

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
Contributor

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants