mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 22:47:03 +00:00
add docker dev container configuration
This commit is contained in:
parent
86942b3ba8
commit
b983ca6aa5
4 changed files with 56 additions and 0 deletions
15
.devcontainer/Dockerfile
Normal file
15
.devcontainer/Dockerfile
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
FROM ubuntu:rolling
|
||||
|
||||
ARG USER
|
||||
|
||||
RUN apt update
|
||||
RUN apt install -y sudo wget git pkgconf
|
||||
RUN apt install -y build-essential cmake libunwind-dev libglfw3-dev libvulkan-dev libsox-dev git libasound2-dev nasm g++-14
|
||||
RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
|
||||
RUN echo "deb http://apt.llvm.org/oracular/ llvm-toolchain-oracular main" | tee -a /etc/apt/sources.list
|
||||
RUN apt update
|
||||
RUN apt install -y clangd
|
||||
RUN deluser ubuntu || echo
|
||||
RUN useradd -m ${USER}
|
||||
RUN echo ${USER} ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/${USER} \
|
||||
&& chmod 0440 /etc/sudoers.d/${USER}
|
||||
Loading…
Add table
Add a link
Reference in a new issue