mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 19:07:54 +01:00
26 lines
671 B
Docker
26 lines
671 B
Docker
FROM registry.fedoraproject.org/fedora:39
|
|
|
|
ARG VERSION=39
|
|
|
|
ENV ARCH="x86_64"
|
|
ENV IMAGE_NAME="base"
|
|
ENV IMAGE_REPO="quay.io/fedora-ostree-desktops"
|
|
ENV IMAGE_TAG="${VERSION}"
|
|
ENV VARIANT="Server"
|
|
ENV VERSION="${VERSION}"
|
|
ENV WEB_UI="false"
|
|
|
|
RUN mkdir /build-container-installer
|
|
|
|
COPY / /build-container-installer/
|
|
|
|
WORKDIR /build-container-installer
|
|
VOLUME /build-container-installer/build
|
|
VOLUME /build-container-installer/repos
|
|
VOLUME /cache
|
|
|
|
RUN dnf install -y make && make install-deps
|
|
RUN ln -s /run/secrets/etc-pki-entitlement /etc/pki/entitlement-host && ln -s /run/secrets/rhsm /etc/rhsm-host
|
|
|
|
ENTRYPOINT ["/bin/bash", "/build-container-installer/entrypoint.sh"]
|
|
|