Create truenas image

This commit is contained in:
Gerald Pinder
2024-09-23 12:34:59 -04:00
parent cf0dbddb07
commit 8622af1fa0
6 changed files with 23 additions and 15 deletions

View File

@@ -20,11 +20,11 @@ build-image:
parallel:
matrix:
- RECIPE:
# - jp-desktop.yml
- jp-desktop-nvidia.yml
- jp-laptop.yml
- jp-laptop-cosmic.yml
- cp-laptop.yml
- jp-truenas.yml
variables:
DOCKER_HOST: tcp://docker:2376
DOCKER_TLS_CERTDIR: /certs
@@ -37,13 +37,4 @@ build-image:
- export COSIGN_PRIVATE_KEY=$(cat .secure_files/cosign.key)
script:
- sleep 5
# - bluebuild build -vv -B docker -p ./recipes/*.yml
- bluebuild build -B docker -S sigstore -p ./recipes/$RECIPE
# after_script:
# - docker system df
# - docker system prune -f
# - |
# docker images --format '{{.ID}} {{.CreatedSince}}' | grep -E 'weeks|months' | while read -r line; do
# image_id=$(echo $line | awk '{print $1}')
# docker rmi -f $image_id
# done

View File

@@ -0,0 +1,5 @@
modules:
- type: rpm-ostree
install:
- virt-manager
- alacritty

View File

@@ -12,7 +12,6 @@ modules:
- https://cli.github.com/packages/rpm/gh-cli.repo
install:
- cmake
- virt-manager
- "gcc-c++"
- earthly
- kubectl
@@ -22,7 +21,6 @@ modules:
- gcc-aarch64-linux-gnu
- gcc-c++-aarch64-linux-gnu
- musl-gcc
- alacritty
- openssl-devel
- bat
- gh
@@ -39,5 +37,5 @@ modules:
scripts:
- install-mkcert.sh
- install-codelldb.sh
snippets:
- curl -fsSL https://ollama.com/install.sh | sed 's|/usr/local/bin||' | sh
# snippets:
# - curl -fsSL https://ollama.com/install.sh | sed 's|/usr/local/bin||' | sh

View File

@@ -3,7 +3,6 @@ stages:
from: rust
modules:
- type: script
no-cache: true
scripts:
- install-helix.sh
modules:

View File

@@ -4,6 +4,7 @@ modules:
- from-file: common/jp-packages.yml
- from-file: common/gaming.yml
- from-file: common/dev-packages.yml
- from-file: common/dev-apps.yml
- from-file: common/updates.yml
- type: files
files:

14
recipes/jp-truenas.yml Normal file
View File

@@ -0,0 +1,14 @@
name: jp-truenas
base-image: ghcr.io/secureblue/securecore-main-userns-hardened
image-version: 40
description: The image of Wunker OS for JP's TrueNAS Server.
stages:
- from-file: common/helix.yml
modules:
- from-file: common/updates.yml
- type: fonts
nerd-fonts:
- JetBrainsMono
- NerdFontsSymbolsOnly
- from-file: common/dev-packages.yml
- from-file: common/helix.yml