Create truenas image
This commit is contained in:
@@ -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
|
|
||||||
|
|||||||
5
recipes/common/dev-apps.yml
Normal file
5
recipes/common/dev-apps.yml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
modules:
|
||||||
|
- type: rpm-ostree
|
||||||
|
install:
|
||||||
|
- virt-manager
|
||||||
|
- alacritty
|
||||||
@@ -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
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
@@ -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
14
recipes/jp-truenas.yml
Normal 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
|
||||||
Reference in New Issue
Block a user