diff options
| author | seth <[email protected]> | 2024-01-19 22:17:31 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2024-01-20 05:56:19 -0500 |
| commit | 290a84e86b2f2c3cb1403f94eff416e74d536abd (patch) | |
| tree | ea3a3138e6949905c2a4e60e8e5905d3f6412867 /Containerfile | |
initial commit
Diffstat (limited to 'Containerfile')
| -rw-r--r-- | Containerfile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Containerfile b/Containerfile new file mode 100644 index 0000000..c5f7c39 --- /dev/null +++ b/Containerfile @@ -0,0 +1,11 @@ +ARG IMAGE_FLAVOR="${IMAGE_FLAVOR:-silverblue}" +ARG BASE_IMAGE="quay.io/fedora-ostree-desktops/${IMAGE_FLAVOR}" +ARG FEDORA_VERSION="${FEDORA_VERSION:-39}" + +FROM ${BASE_IMAGE}:${FEDORA_VERSION} as builder + +COPY initial_setup.sh /usr/local/bin/initial_setup.sh +COPY override.sh /tmp/override.sh + +RUN /tmp/override.sh && rpm-ostree cleanup -m && \ + rm -rf /tmp/* /var/* && ostree container commit |
