Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create cmd_type packagelist and container_packagelist #10

Open
markfeathers opened this issue May 31, 2023 · 0 comments
Open

Create cmd_type packagelist and container_packagelist #10

markfeathers opened this issue May 31, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@markfeathers
Copy link
Contributor

If a component requires a package, it should be able to define in its manifest.yaml something like:

cmd: packages.sh
cmd_type: packagelist
description: Adding to package

In package.sh, eg, to install an ssh server:

#!/bin/bash
echo "openssh-server"

This script would give an opportunity to echo different package names depending on the distro/release/arch, or any environment variable or config.

The same should happen from a container_packagelist to update a generated dockerfile. This would make it simpler to add container dependencies for packages such as genimage which requires libconfuse from the container.

@ts-kris ts-kris added the enhancement New feature or request label Jun 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants