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

Image | Add support for generic container image #5374

Merged
merged 8 commits into from
Mar 26, 2022
Merged

Image | Add support for generic container image #5374

merged 8 commits into from
Mar 26, 2022

Conversation

MichaIng
Copy link
Owner

  • DietPi-PREP | Add support for simple container images without bootloader, kernel, initramfs, firmware, network and console/keyboard packages

- DietPi-PREP | Add support for simple container images without bootloader, kernel, initramfs, firmware, network and console/keyboard packages
@MichaIng MichaIng added this to the v8.3 milestone Mar 24, 2022
@MichaIng MichaIng linked an issue Mar 24, 2022 that may be closed by this pull request
MichaIng and others added 3 commits March 25, 2022 19:41
- DietPi-Build | Add support for container images
- DietPi-Build | Fix variable assignment
- CHANGELOG | Fix typo
- DietPi-Build | Reduce image size and assure that "iproute2" is installed on containers
- DietPi-Software | Do not install CPU microcode packages and skip time sync setup on containers
- DietPi-Set_hardware | Pre-create /etc/modprobe.d, if required but missing; Remove legacy kernel and unsupported SBC kernel module handling
- DietPi-PREP | Assure "iproute2" is installed on container images but do not enable serial consoles and do not touch Bluetooth on them
- DietPi-FirstBoot | Reorder steps so that keyboard, SSH and network setup can be skipped on container images
- General | Check for container "hardware" ID whenever asking systems whether it is a container in conditionals, and replace systemd-detect-virt with the lighter /proc/1/environ parsing for "container" variable
- DietPi-TimeSync | Skip time sync on container systems and if any image is run as container
- DietPi-FirstBoot | Do not touch serial consoles on container images
- DietPi-Build | Re-add missing Dropbear to pre-installed packages, as this fails inside the container on package configuration as port 22 is used by the host
- DietPi-PREP | Re-add re-setting serial console flag, else it is missing on systems where we enable specific known serial devices instead of all detected ones
@MichaIng MichaIng merged commit 4ea9810 into dev Mar 26, 2022
@MichaIng MichaIng deleted the container branch March 26, 2022 01:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Image | LXC container
2 participants