mirror of
https://github.com/rancher/os.git
synced 2025-07-03 01:56:14 +00:00
Currently, for amd64 (the default) and arm. Run `dapper make ARCH=arm rootfs` to build rootfs.tar.gz for arm.
18 lines
340 B
Bash
Executable File
18 lines
340 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
if [ "$1" != "--dev" ]; then
|
|
echo
|
|
echo Running \"production\" build. Will use lzma to compress initrd, which is somewhat slow...
|
|
echo Ctrl+C if you don\'t want this.
|
|
echo
|
|
echo For \"developer\" builds, run ./build.sh --dev
|
|
echo
|
|
dapper make all
|
|
else
|
|
dapper make DEV_BUILD=1 all
|
|
fi
|
|
|
|
|
|
ls -lh dist/artifacts
|