7 Commits

Author SHA1 Message Date
865858cf5f Run rpm-ostree via nsenter
All checks were successful
ContainerImages/cfg/pipeline/head This commit looks good
Pre-configuration scripts may need to install packages on the host using
`rpm-ostree`.
2024-01-28 12:26:32 -06:00
c068619c8a nsenter: Do not enter user namespace
All checks were successful
ContainerImages/cfg/pipeline/head This commit looks good
Running `nsenter` with `-U` fails:

```
nsenter: setns(): can't reassociate to namespace 'user': Invalid argument
```

This is probably because the container runs in the same user namespace
as the host anyway, so it really doesn't matter.
2024-01-19 16:29:38 -06:00
47f36b3614 nsenter: Fix syntax for BusyBox
All checks were successful
ContainerImages/cfg/pipeline/head This commit looks good
The `-a`/`--all` argument for `nsenter` is present in the *util-linux*
version of `nsenter`, but not the BusyBox version.  The latter is
present in Alpine, so we need to adjust our wrapper script to use
compatible syntax, which means explicitly listing the namespaces we want
to enter.
2024-01-19 16:24:26 -06:00
e75f97cc8c Install curl
All checks were successful
ContainerImages/cfg/pipeline/head This commit looks good
The configuration system uses `curl` to fetch _age_ encryption keys from
the key server.  It was installed by default in the Fedora Minimal
container image, but it is not included in the base Alpine image.
2024-01-19 16:04:31 -06:00
4bba99f4f2 Rebase on Alpine
All checks were successful
ContainerImages/cfg/pipeline/head This commit looks good
Using Alpine instead of Fedora Minimal reduces the size of the final
image from 175 MB to 50 MB.  This should speed up execeution on slow
machines like Raspberry Pis.
2024-01-19 10:15:25 -06:00
d5c20663f6 Run config.sh from Git checkout
This way, we don't have to rebuild the container image every time we
want to make a change to the configuration process.
2024-01-17 17:33:42 -06:00
7cefbd30b6 Initial commit
All checks were successful
ContainerImages/cfg/pipeline/head This commit looks good
2024-01-17 14:07:31 -06:00