diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile new file mode 100644 index 00000000..7c792443 --- /dev/null +++ b/.devcontainer/Dockerfile @@ -0,0 +1,20 @@ +FROM fedora +RUN dnf install -y \ + fish \ + git \ + jq \ + make \ + qemu-img \ + osbuild \ + osbuild-ostree \ + pylint \ + python3-autopep8 \ + python3-devel \ + python3-docutils \ + python3-iniparse \ + python3-jsonschema \ + python3-pip \ + python3-pylint \ + python3-pytest \ + rpm-build \ + selinux-policy-devel diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 00000000..ac911ac3 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,28 @@ +{ + "name": "osbuild", + "build": { + "dockerfile": "Dockerfile", + "context": "..", + }, + "runArgs": [ + "--privileged" + ], + "settings": { + "terminal.integrated.shell.linux": "/bin/fish", + "python.pythonPath": "/usr/bin/python", + "python.linting.enabled": true, + "python.linting.pylintEnabled": true, + "python.testing.unittestEnabled": false, + "python.testing.nosetestsEnabled": false, + "python.testing.pyTestEnabled": true, + "python.testing.pyTestArgs": [ + "test" + ] + }, + "extensions": [ + "editorconfig.editorconfig", + "laurenttreguier.rpm-spec", + "ms-python.python", + "ms-python.vscode-pylance" + ] +}