diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile new file mode 100644 index 0000000..dca5aa5 --- /dev/null +++ b/.devcontainer/Dockerfile @@ -0,0 +1,48 @@ +FROM fedora:latest +RUN dnf install -y \ + bat \ + findutils \ + fish \ + fpaste \ + git \ + glibc-langpack-en \ + hostname \ + ipython3 \ + jq \ + koji \ + koji-builder \ + koji-hub \ + koji-utils \ + lsof \ + make \ + podman \ + postgresql \ + pylint \ + python3-autopep8 \ + python3-devel \ + python3-docutils \ + python3-enchant \ + python3-flexmock \ + python3-httpretty \ + python3-iniparse \ + python3-jsonschema \ + python3-koji \ + python3-mako \ + python3-pip \ + python3-pycodestyle \ + python3-pylint \ + python3-pytest \ + python3-pytest-cov \ + python3-pyyaml \ + python3-requests \ + qemu-img \ + qemu-system-x86 \ + rpm-build \ + rpmlint \ + ShellCheck \ + skopeo \ + strace \ + the_silver_searcher \ + tree + +WORKDIR /workspaces/koji-osbuild diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..76f24be --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,32 @@ +{ + "name": "koji-osbuild", + "build": { + "dockerfile": "Dockerfile", + "context": "..", + }, + "mounts": [ + "source=osbuild-share,target=/root/.local/share,type=volume" + ], + "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", + "ms-vscode-remote.remote-containers" + ] +}