1
0
mirror of https://github.com/rancher/os.git synced 2025-07-03 01:56:14 +00:00
os/build.sh
Ivan Mikushin 2f27271a2c Multi-arch build
Currently, for amd64 (the default) and arm.
Run `dapper make ARCH=arm rootfs` to build rootfs.tar.gz for arm.
2016-02-08 16:49:49 -08:00

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