Commit graph

3 commits

Author SHA1 Message Date
Achilleas Koutsou
0799328a6a devcontainer: fix json file
Fix the devcontainer.json (trailing comma).
2024-03-26 01:20:37 +01:00
Christian Kellner
1f86a2156d devcontainer: preserve history
Use a separate volume for /root/.local/share, which is where the
fish shell keeps its history file, in order to preserve it across
container rebuilds.
2021-04-08 12:56:06 +02:00
Christian Kellner
b6642db7a2 devcontainer: support for vs code devcontainer
Add a support for developing osbuild via Visual Studio Code
Remote Containers[1]. VS Code, if the extension is installed,
will automatically build the specified container via the
supplied Dockerfile and start a a VS Code server instance in
it and connect to it.
The container has the dependencies to develop osbuild, which
includes running the test and building images. For this the
container is started with `--privileged` since osbuild needs
various capabilities.
NB: not all extensions that are installed on the host are
automatically installed; instead a handful of basic ones that
are needed for python development are pre-installed.

[1] https://code.visualstudio.com/docs/remote/containers
2021-01-21 19:24:25 +01:00