summaryrefslogtreecommitdiff
path: root/Containerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Containerfile')
-rw-r--r--Containerfile11
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