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: parallel:
matrix: matrix:
- RECIPE: - RECIPE:
# - jp-desktop.yml
- jp-desktop-nvidia.yml - jp-desktop-nvidia.yml
- jp-laptop.yml - jp-laptop.yml
- jp-laptop-cosmic.yml - jp-laptop-cosmic.yml
- cp-laptop.yml - cp-laptop.yml
- jp-truenas.yml
variables: variables:
DOCKER_HOST: tcp://docker:2376 DOCKER_HOST: tcp://docker:2376
DOCKER_TLS_CERTDIR: /certs DOCKER_TLS_CERTDIR: /certs
@@ -37,13 +37,4 @@ build-image:
- export COSIGN_PRIVATE_KEY=$(cat .secure_files/cosign.key) - export COSIGN_PRIVATE_KEY=$(cat .secure_files/cosign.key)
script: script:
- sleep 5 - sleep 5
# - bluebuild build -vv -B docker -p ./recipes/*.yml
- bluebuild build -B docker -S sigstore -p ./recipes/$RECIPE - 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 - https://cli.github.com/packages/rpm/gh-cli.repo
install: install:
- cmake - cmake
- virt-manager
- "gcc-c++" - "gcc-c++"
- earthly - earthly
- kubectl - kubectl
@@ -22,7 +21,6 @@ modules:
- gcc-aarch64-linux-gnu - gcc-aarch64-linux-gnu
- gcc-c++-aarch64-linux-gnu - gcc-c++-aarch64-linux-gnu
- musl-gcc - musl-gcc
- alacritty
- openssl-devel - openssl-devel
- bat - bat
- gh - gh
@@ -39,5 +37,5 @@ modules:
scripts: scripts:
- install-mkcert.sh - install-mkcert.sh
- install-codelldb.sh - install-codelldb.sh
snippets: # snippets:
- curl -fsSL https://ollama.com/install.sh | sed 's|/usr/local/bin||' | sh # - curl -fsSL https://ollama.com/install.sh | sed 's|/usr/local/bin||' | sh

View File

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

View File

@@ -4,6 +4,7 @@ modules:
- from-file: common/jp-packages.yml - from-file: common/jp-packages.yml
- from-file: common/gaming.yml - from-file: common/gaming.yml
- from-file: common/dev-packages.yml - from-file: common/dev-packages.yml
- from-file: common/dev-apps.yml
- from-file: common/updates.yml - from-file: common/updates.yml
- type: files - type: files
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