2024-12-26 19:46:21 +03:00
2024-12-26 19:46:21 +03:00
2024-12-26 19:46:21 +03:00

platforms file

Format

{
  "install_instructions": {
	  
    "inst_set_1": [
      "line 1",
      "line 2"
    ],
    
	"inst_set_2":[
      "line 1",
      "line 2",
      "line 3",
      "line 4"
    ]
	
  },
  
  "platforms": {
  
    "Debian NN": {
      "codename": "<codename>",
      "docker": {
        "directory": "<directory with Dockerfile>",
        "image_basename": "<result docker image name>,
        "build_options": {
          "image_from": "<source docker image name>",
          "image_prepare_script": "<exec this script while building image>"
        }
      },
      "ppa": {
        "filters": ["<package name part to use in wildcard copy>"],
        "install_instructions": "inst_set_1"
      }
    },
	
    "Some crosscompile image": {
      "codename": "<codename>",
      "cmake_toolchain": "<path to CMake toolchain file>",
      "docker": {
        "directory": "<directory with Dockerfile>",
        "image_basename": "<result docker image name>,
        "build_options": {
          "image_from": "<source docker image name>",
          "image_prepare_script": "<exec this script while building image>",
          "arch": "<arch name>",
          "toolchain": "<toolchain package name>",
          "triplet": "<multiarch name>"
        }
      },
      "ppa": {
        "filters": ["<package name part to use in wildcard copy>"],
        "install_instructions": "inst_set_2"
      }
    }
	
  }
}

Debian codenames

Debian arch names

Debian multiarch names

You can add any values in docker.build_options object, all these values passed to docker on building

ppa.install_instructions will be replaced to corresponding install_instructions array, or you can set array of strings directly:

      "ppa": {
        "install_instructions": ["line1", "line2"]
      }
Description
No description provided
Readme 65 KiB