From 21fc4ef456033e8a82270fde2032799bae0b7baf Mon Sep 17 00:00:00 2001 From: "Michael J. Manley" Date: Sun, 1 Dec 2024 22:14:38 +0000 Subject: [PATCH] [skip ci] Added DevContainer Files --- .devcontainer/Dockerfile | 5 + .devcontainer/devcontainer.json | 17 + .idea/codeStyles/Project.xml | 99 ++++++ .idea/editor.xml | 580 ++++++++++++++++++++++++++++++++ .idea/misc.xml | 3 + 5 files changed, 704 insertions(+) create mode 100644 .devcontainer/Dockerfile create mode 100644 .devcontainer/devcontainer.json create mode 100644 .idea/editor.xml diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile new file mode 100644 index 00000000..71a171d2 --- /dev/null +++ b/.devcontainer/Dockerfile @@ -0,0 +1,5 @@ +FROM ubuntu:jammy + +RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ + && apt-get -y install --no-install-recommends git libsdl2-dev libopenal-dev libwxgtk3.0-gtk3-dev \ + libpcap-dev cmake ninja-build build-essential ca-certificates diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 00000000..631bc4c3 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,17 @@ +{ + "name": "PCem", + "build": { + "dockerfile": "Dockerfile" + }, + "runArgs": [ + "--userns=keep-id", + "--security-opt=label=disable" + ], + "containerEnv": { + "DISPLAY": "${localEnv:DISPLAY}" + }, + "mounts": [ + "source=/tmp/.X11-unix,target=/tmp/.X11-unix,type=bind,consistency=cached" + ], + "remoteUser": "root" +} diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index f6038816..53162672 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -1,5 +1,104 @@ + + diff --git a/.idea/editor.xml b/.idea/editor.xml new file mode 100644 index 00000000..59c76fa8 --- /dev/null +++ b/.idea/editor.xml @@ -0,0 +1,580 @@ + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml index 79b3c948..0b76fe51 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,4 +1,7 @@ + + \ No newline at end of file