Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.

Commit

Permalink
docs(readme): run docker container from non-root
Browse files Browse the repository at this point in the history
  • Loading branch information
ernado committed Aug 15, 2022
1 parent 69a46ec commit 7de8af3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,13 @@ poetry run gen_dockerfile | docker build -t tdesktop:centos_env -
#### Building fork
From tdesktop root directory:
```bash
docker run --rm -it \
docker run --user $(id -u "$USER") --rm -it \
-v $PWD:/usr/src/tdesktop \
-e DEBUG=1 \
tdesktop:centos_env \
/usr/src/tdesktop/Telegram/build/docker/centos_env/build.sh \
-D TDESKTOP_API_ID=17349 \
-D TDESKTOP_API_HASH=344583e45741c457fe1862106095a5eb \
-D DESKTOP_APP_USE_PACKAGED=OFF \
-D DESKTOP_APP_USE_PACKAGED=OFF
```

0 comments on commit 7de8af3

Please sign in to comment.