From ec126c995ffdbe63cbcce76cfcfbf7eca215dea2 Mon Sep 17 00:00:00 2001 From: matt Date: Wed, 29 Jan 2020 22:13:28 +0000 Subject: [PATCH] added docker build instructions and example config --- README.md | 11 +++++++++++ config.example | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 config.example diff --git a/README.md b/README.md index ab2ff7c4..c2fc17b2 100644 --- a/README.md +++ b/README.md @@ -2,3 +2,14 @@ A turnkey GNU/Linux solution that transforms a Raspberry Pi to an Android Auto head unit. https://getcrankshaft.com/ + +# Docker build image + +- Create config for pi-gen +```bash +cp config.example config +``` +- Build image +```bash +./build-docker.sh +``` diff --git a/config.example b/config.example new file mode 100644 index 00000000..540ce318 --- /dev/null +++ b/config.example @@ -0,0 +1,11 @@ +IMG_NAME='crankshaft-ng' +ENABLE_SSH=0 +STAGE_LIST='stage0 stage1 stage2 stage3' +#these are the defaults uncomment to change +#FIRST_USER_NAME=pi +#FIRST_USER_PASS=raspberry +# Uncomment this if a build fails and you'd like to try again +#CONTINUE=1 +IMG_VERSION=v1-${IMG_NAME} +IMG_FILENAME=${IMG_VERSION} +ZIP_FILENAME=${IMG_VERSION}