mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-23 19:49:05 +08:00
initialize vdi with .devcontainer
This commit is contained in:
parent
6ed94f7bd1
commit
f71d4e9e81
1
vdi/README.md
Normal file
1
vdi/README.md
Normal file
@ -0,0 +1 @@
|
||||
# WIP
|
16
vdi/host/.devcontainer/Dockerfile
Normal file
16
vdi/host/.devcontainer/Dockerfile
Normal file
@ -0,0 +1,16 @@
|
||||
FROM rockylinux:9.1
|
||||
ENV HOME=/home/vscode
|
||||
ENV WORKDIR=$HOME/rustdesk/vdi/host
|
||||
|
||||
# https://ciq.co/blog/top-10-things-to-do-after-rocky-linux-9-install/ also gpu driver install
|
||||
WORKDIR $HOME
|
||||
RUN dnf -y install epel-release
|
||||
RUN dnf config-manager --set-enabled crb
|
||||
RUN dnf -y install cargo libvpx-devel opus-devel usbredir-devel git cmake gcc-c++ pkg-config nasm yasm ninja-build automake libtool libva-devel libvdpau-devel llvm-devel
|
||||
WORKDIR /
|
||||
|
||||
RUN git clone https://chromium.googlesource.com/libyuv/libyuv
|
||||
WORKDIR /libyuv
|
||||
RUN cmake . -DCMAKE_INSTALL_PREFIX=/user
|
||||
RUN make -j4 && make install
|
||||
WORKDIR /
|
27
vdi/host/.devcontainer/devcontainer.json
Normal file
27
vdi/host/.devcontainer/devcontainer.json
Normal file
@ -0,0 +1,27 @@
|
||||
{
|
||||
"name": "rustdesk",
|
||||
"build": {
|
||||
"dockerfile": "./Dockerfile",
|
||||
"context": "."
|
||||
},
|
||||
"workspaceMount": "source=${localWorkspaceFolder},target=/home/vscode/rustdesk,type=bind,consistency=cache",
|
||||
"workspaceFolder": "/home/vscode/rustdesk",
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
"vadimcn.vscode-lldb",
|
||||
"mutantdino.resourcemonitor",
|
||||
"rust-lang.rust-analyzer",
|
||||
"tamasfe.even-better-toml",
|
||||
"serayuzgur.crates",
|
||||
"mhutchie.git-graph",
|
||||
"eamodio.gitlens"
|
||||
],
|
||||
"settings": {
|
||||
"files.watcherExclude": {
|
||||
"**/target/**": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
1
vdi/host/.gitignore
vendored
Normal file
1
vdi/host/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/target
|
1185
vdi/host/Cargo.lock
generated
Normal file
1185
vdi/host/Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
9
vdi/host/Cargo.toml
Normal file
9
vdi/host/Cargo.toml
Normal file
@ -0,0 +1,9 @@
|
||||
[package]
|
||||
name = "qemu-rustdesk"
|
||||
version = "0.1.0"
|
||||
authors = ["rustdesk <info@rustdesk.com>"]
|
||||
edition = "2021"
|
||||
|
||||
|
||||
[dependencies]
|
||||
qemu-display = { git = "https://gitlab.com/marcandre.lureau/qemu-display" }
|
1
vdi/host/README.md
Normal file
1
vdi/host/README.md
Normal file
@ -0,0 +1 @@
|
||||
# RustDesk protocol on QEMU D-Bus display
|
2
vdi/host/src/main.rs
Normal file
2
vdi/host/src/main.rs
Normal file
@ -0,0 +1,2 @@
|
||||
fn main() {
|
||||
}
|
Loading…
Reference in New Issue
Block a user