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

Remove use of apt update #308

Open
devpow112 opened this issue Apr 11, 2022 · 2 comments
Open

Remove use of apt update #308

devpow112 opened this issue Apr 11, 2022 · 2 comments
Labels
dependencies Pull requests that update a dependency file enhancement New feature or request

Comments

@devpow112
Copy link
Owner

Switch to list of packages that is updated periodically. Allows for more stable release.

@devpow112 devpow112 added enhancement New feature or request dependencies Pull requests that update a dependency file labels Apr 11, 2022
@devpow112
Copy link
Owner Author

Use this to get a list of packages

dpkg-query -f '${binary:Package}="${Version}"\n' -W > packages_list.txt

Check that in and then use

xargs -a packages_list.txt apt-get install --no-install-recommends --no-install-suggests -y

In the dockerfile. Will need to store 1 list per architecture most likely.

@devpow112
Copy link
Owner Author

devpow112 commented Jan 13, 2023

Add a scheduled workflow that does this. Then we can switch release to only release when the Dockerfile changes, the .dockerignore file changes, anything in root or the package list changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant