mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
initialize vdi with .devcontainer
This commit is contained in:
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 /
|
||||
Reference in New Issue
Block a user