Commit graph

9 commits

Author SHA1 Message Date
Brian C. Lane
28e74f6c9b Add support for using librepo to download packages
Using a metalink or mirrorlist along with the package paths and
checksums allows them to be reliably downloaded even when mirrors are
not all in sync. It will retry with a new mirror until it succeeds, or
has tried all of the mirrors.
2025-01-14 08:19:16 +01:00
Achilleas Koutsou
0799328a6a devcontainer: fix json file
Fix the devcontainer.json (trailing comma).
2024-03-26 01:20:37 +01:00
Michael Vogt
70c3539044 devcontainer: install parted for test_mount_with_partition 2023-12-22 10:18:29 -05:00
Christian Kellner
a93c874c47 devcontainer: include packit, boto3 & more tools
Include the packit tool to be able to do updates from the container.
Additionally, include python-boto3 so that `make test-src` now does
not complain about missing `boto3` imports.
Also include ipython3 for quick python code snippet testing and
lsof to debug processes that keep files open.

NB: for packit to work you have to have the right tokens in your
local packit configration file (see the upstream doc). Additionally,
`packit propose-downstream`, to create PRs for a new downstream
release, needs kerberos auth to work correctly.
2021-08-17 10:42:03 +02:00
Christian Kellner
e4f39c5e03 devcontainer: add pyyaml dependency
This is needed for the pylint to work correctly with the new
cloud-init stage.
While there, add some more utilities useful for debugging. Also
add glibc-langpack-en needed for `en_GB`.
2021-07-01 23:29:03 +02:00
Christian Kellner
94dedfc849 devcontainer: specify the workdir
Set the workdir to the osbuild source directory; this makes it
convenient when using docker/podman exec into the container.
2021-04-08 12:56:06 +02: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
65cf620d4b devcontainer: install additional packages
Install more more tools and utilities that help with development
and testing of osbuild inside the dev container.
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