Create Containerfile

This commit is contained in:
andersrh 2023-07-13 19:35:04 +02:00
commit c4cd9f734f

14
Containerfile Normal file
View file

@ -0,0 +1,14 @@
ARG IMAGE_NAME="${IMAGE_NAME:-kinoite}"
ARG SOURCE_IMAGE="${SOURCE_IMAGE:-kinoite}"
ARG BASE_IMAGE="quay.io/fedora-ostree-desktops/${SOURCE_IMAGE}"
ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-38}"
FROM ${BASE_IMAGE}:${FEDORA_MAJOR_VERSION} AS builder
ARG IMAGE_NAME="${IMAGE_NAME}"
ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION}"
RUN rpm-ostree override remove firefox firefox-langpacks && \
rpm-ostree install distrobox
RUN ostree container commit