mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
more fixes
This commit is contained in:
parent
37ce02c57e
commit
926b72135b
3 changed files with 36 additions and 21 deletions
|
|
@ -6,7 +6,7 @@ To use the container file, run `podman run --privileged --volume .:/build-contai
|
|||
|
||||
This will create an ISO with the baked in defaults of the container image. The resulting file will be called `deploy.iso`
|
||||
|
||||
See [Customizing](#customizing) for information about customizing the ISO that gets created. The variable can either be defined as environment variables. All variable should be specified CAPITALIZED.
|
||||
See [Customizing](#customizing) for information about customizing the ISO that gets created. The variables can be defined as environment variables or command arguments. All variables should be specified CAPITALIZED.
|
||||
Examples:
|
||||
|
||||
Building an ISO to install Fedora 39
|
||||
|
|
|
|||
|
|
@ -7,17 +7,18 @@ The code from VSCode will be available at `/workspaces/build-container-installer
|
|||
Privileged is required for access to loop devices for lorax.
|
||||
|
||||
## Use existing container image:
|
||||
```
|
||||
|
||||
```diff
|
||||
{
|
||||
"name": "Existing Dockerfile",
|
||||
// "build": {
|
||||
// "context": "..",
|
||||
// "dockerfile": "../Containerfile",
|
||||
// "args": {
|
||||
// "version": "39"
|
||||
// }
|
||||
// },
|
||||
"image": "ghcr.io/jasonn3/build-container-installer:latest",
|
||||
"name": "Existing Image",
|
||||
- "build": {
|
||||
- "context": "..",
|
||||
- "dockerfile": "../Containerfile",
|
||||
- "args": {
|
||||
- "version": "39"
|
||||
- }
|
||||
- },
|
||||
+ "image": "ghcr.io/jasonn3/build-container-installer:latest",
|
||||
"overrideCommand": true,
|
||||
"shutdownAction": "stopContainer",
|
||||
"privileged": true
|
||||
|
|
@ -25,19 +26,21 @@ Privileged is required for access to loop devices for lorax.
|
|||
```
|
||||
|
||||
## Build a new container image:
|
||||
```
|
||||
|
||||
```diff
|
||||
{
|
||||
"name": "Existing Dockerfile",
|
||||
"build": {
|
||||
"context": "..",
|
||||
"dockerfile": "../Containerfile",
|
||||
"args": {
|
||||
"version": "39"
|
||||
}
|
||||
},
|
||||
//"image": "ghcr.io/jasonn3/build-container-installer:latest",
|
||||
"name": "New Image",
|
||||
+ "build": {
|
||||
+ "context": "..",
|
||||
+ "dockerfile": "../Containerfile",
|
||||
+ "args": {
|
||||
+ "version": "39"
|
||||
+ }
|
||||
+ },
|
||||
- "image": "ghcr.io/jasonn3/build-container-installer:latest",
|
||||
"overrideCommand": true,
|
||||
"shutdownAction": "stopContainer",
|
||||
"privileged": true
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue