This commit changes this manifest to use the new fedora-vars.ipp and fedora-build-v2.ipp infrastructure to remove all hardcoded Fedora versions.
81 lines
2.1 KiB
YAML
81 lines
2.1 KiB
YAML
version: '2'
|
|
pipelines:
|
|
- mpp-import-pipelines:
|
|
path: fedora-vars.ipp.yaml
|
|
- mpp-import-pipeline:
|
|
path: fedora-build-v2.ipp.yaml
|
|
id: build
|
|
runner:
|
|
mpp-format-string: org.osbuild.fedora{release}
|
|
- name: tree
|
|
build: name:build
|
|
stages:
|
|
- type: org.osbuild.rpm
|
|
inputs:
|
|
packages:
|
|
type: org.osbuild.files
|
|
origin: org.osbuild.source
|
|
mpp-depsolve:
|
|
architecture: $arch
|
|
module-platform-id: $module_platform_id
|
|
repos:
|
|
mpp-eval: repos
|
|
packages:
|
|
- fedora-release-container
|
|
- bash
|
|
- coreutils
|
|
- glibc-minimal-langpack
|
|
- rpm
|
|
- shadow-utils
|
|
- sssd-client
|
|
- util-linux
|
|
- microdnf
|
|
- nginx
|
|
excludes:
|
|
- kernel
|
|
- dosfstools
|
|
- e2fsprogs
|
|
- fuse-libs
|
|
- gnupg2-smime
|
|
- libss
|
|
- pinentry
|
|
- shared-mime-info
|
|
- trousers
|
|
- xkeyboard-config
|
|
- grubby
|
|
options:
|
|
gpgkeys:
|
|
mpp-eval: gpgkeys
|
|
exclude:
|
|
docs: true
|
|
install_langs:
|
|
- en_US
|
|
- type: org.osbuild.rpm.macros
|
|
options:
|
|
filename: /etc/rpm/macros.image-language-conf
|
|
macros:
|
|
_install_langs:
|
|
- en_US
|
|
- type: org.osbuild.locale
|
|
options:
|
|
language: en_US.UTF-8
|
|
- name: container
|
|
build: name:build
|
|
stages:
|
|
- type: org.osbuild.oci-archive
|
|
inputs:
|
|
base:
|
|
type: org.osbuild.tree
|
|
origin: org.osbuild.pipeline
|
|
references:
|
|
- name:tree
|
|
options:
|
|
architecture: amd64
|
|
filename: fedora-container.tar
|
|
config:
|
|
Cmd:
|
|
- nginx
|
|
- -g
|
|
- daemon off;
|
|
ExposedPorts:
|
|
- '80'
|