devcontainer: initial import
Add support for Visual Studio Code Dev Containers.
This commit is contained in:
parent
cd8703640b
commit
a841845688
2 changed files with 80 additions and 0 deletions
48
.devcontainer/Dockerfile
Normal file
48
.devcontainer/Dockerfile
Normal file
|
|
@ -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
|
||||
32
.devcontainer/devcontainer.json
Normal file
32
.devcontainer/devcontainer.json
Normal file
|
|
@ -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"
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue