Sign inSign up

scjtqs/truenas-build

By scjtqs

Updated over 1 year ago

Image
0

1.5K

scjtqs/truenas-build repository overview

在truenas上面编译 truenas scale每次都得安装依赖环境,很麻烦,还是用docker来编译方便。

how to use

create a docker runner

cd /path
git clone https://github.com/truenas/scale-build.git
docker run -d \
  --name truenas-builder \
  --privileged \
  -v /path/scale-builder:/workspace \
  scjtqs/truenas-build:bookworm

build

docker exec -it truenas-builder bash

# if you already hav python venv dir. you shoud delete it. rm -rf venv-*
#After the pre-requistes are installed, simply run "make" (as root or sudo) to perform a complete build which performs the following steps:

make checkout

#Pulls in the latest target source repos from online. Re-run to update to latest sources at any time.

make packages

#Builds all the *.deb packages from the checked out source repos and stages them for further stages. Re-running it will perform an incremental build, only re-building packages which have changed sources in source/.

make update

#Builds the stand-alone update file, used for online/offline updating or building ISO images.

make iso

#Builds the ISO image for fresh installation.

make clean

#Cleans up all the temporary files and returns to original state.

Tag summary

Content type

Image

Digest

sha256:78a019845

Size

279.7 MB

Last updated

over 1 year ago

docker pull scjtqs/truenas-build:bookworm