diff options
| author | Zeglius <33781398+Zeglius@users.noreply.github.com> | 2025-10-21 17:38:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-21 12:38:28 -0300 |
| commit | 5bf7f2ad5140958f00c785a558c2d3f4e9abb2b9 (patch) | |
| tree | 62d83cc7cf7560ee5516f3517b54a439bade0b08 /Containerfile | |
| parent | 2e22fda019fc559ac7604c5d5188e74f25d32718 (diff) | |
| download | AeroCore-OS-5bf7f2ad5140958f00c785a558c2d3f4e9abb2b9.tar.gz AeroCore-OS-5bf7f2ad5140958f00c785a558c2d3f4e9abb2b9.zip | |
feat: allows packages to install in /opt (#150)
* feat: allows packages to install in /opt/
* feat: default to mutable opt and add documentation
Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com>
---------
Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com>
Co-authored-by: stevensko <30204691+stevensko@users.noreply.github.com>
Diffstat (limited to 'Containerfile')
| -rw-r--r-- | Containerfile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Containerfile b/Containerfile index 8064002..4cab82b 100644 --- a/Containerfile +++ b/Containerfile @@ -14,6 +14,17 @@ FROM ghcr.io/ublue-os/bazzite:stable # Fedora base image: quay.io/fedora/fedora-bootc:41 # CentOS base images: quay.io/centos-bootc/centos-bootc:stream10 +### [IM]MUTABLE /opt +## Some bootable images, like Fedora, have /opt symlinked to /var/opt, in order to +## make it mutable/writable for users. However, some packages write files to this directory, +## thus its contents might be wiped out when bootc deploys an image, making it troublesome for +## some packages. Eg, google-chrome, docker-desktop. +## +## Uncomment the following line if one desires to make /opt immutable and be able to be used +## by the package manager. + +# RUN rm /opt && mkdir /opt + ### MODIFICATIONS ## make modifications desired in your image and install packages by modifying the build.sh script ## the following RUN directive does all the things required to run "build.sh" as recommended. |
