1
0
Fork 0
mirror of https://github.com/JasonN3/build-container-installer.git synced 2025-12-25 10:57:55 +01:00
build-container-installer/Containerfile
Benjamin Sherman 3401b10c56
fix: make loop device during container build of ISO (#41)
* fix: make loop device during container build of ISO

This creates the loop device during container runtime which allows lorax
to build the ISO and not need to rely on a host provided device file.

Fixes: #22

* chore: updated readme

---------

Co-authored-by: Noel Miller <noelmiller@protonmail.com>
2024-02-27 18:06:33 +00:00

24 lines
536 B
Docker

# Used by buildah build --build-arg to create multiple different versions of the image
ARG VERSION=39
FROM fedora:${VERSION}
# Set version for the environment variables in the container.
ARG VERSION=39
ENV ARCH="x86_64"
ENV IMAGE_NAME="base-main"
ENV IMAGE_REPO="ghcr.io/ublue-os"
ENV IMAGE_TAG="${VERSION}"
ENV VARIANT="Kinoite"
ENV VERSION="${VERSION}"
ENV WEB_UI="false"
COPY / /isogenerator
WORKDIR /isogenerator
RUN dnf install -y make && make install-deps
VOLUME /isogenerator/output
ENTRYPOINT /isogenerator/entrypoint.sh