From b75d7f35d8961f5745a243f0596a56ac79070829 Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 2 May 2023 16:50:27 +0200 Subject: [PATCH] fix release argument typo in release argument flag --- content/dev/build/docker/_index.en.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/dev/build/docker/_index.en.md b/content/dev/build/docker/_index.en.md index 4041a6c..08dfa5f 100644 --- a/content/dev/build/docker/_index.en.md +++ b/content/dev/build/docker/_index.en.md @@ -21,7 +21,7 @@ Then, each time you need to build the application, run the following command: docker run --rm -it -v $PWD:/home/user/rustdesk -v rustdesk-git-cache:/home/user/.cargo/git -v rustdesk-registry-cache:/home/user/.cargo/registry -e PUID="$(id -u)" -e PGID="$(id -g)" rustdesk-builder ``` -Note that the first build may take longer before dependencies are cached, subsequent builds will be faster. Additionally, if you need to specify different arguments to the build command, you may do so at the end of the command in the `` position. For instance, if you wanted to build an optimized release version, you would run the command above followed by `---release`. The resulting executable will be available in the target folder on your system, and can be run with: +Note that the first build may take longer before dependencies are cached, subsequent builds will be faster. Additionally, if you need to specify different arguments to the build command, you may do so at the end of the command in the `` position. For instance, if you wanted to build an optimized release version, you would run the command above followed by `--release`. The resulting executable will be available in the target folder on your system, and can be run with: ```sh target/debug/rustdesk @@ -33,4 +33,4 @@ Or, if you're running a release executable: target/release/rustdesk ``` -Please ensure that you are running these commands from the root of the RustDesk repository, otherwise the application may be unable to find the required resources. Also note that other cargo subcommands such as `install` or `run` are not currently supported via this method as they would install or run the program inside the container instead of the host. \ No newline at end of file +Please ensure that you are running these commands from the root of the RustDesk repository, otherwise the application may be unable to find the required resources. Also note that other cargo subcommands such as `install` or `run` are not currently supported via this method as they would install or run the program inside the container instead of the host.