uci-docker-build/example/example.env

45 lines
1.5 KiB
Bash

# UCI Build Script environment file
# for easy use copy this file to .env and it will be sourced
# using a filename of just .env in pwd will load it by default
# otherwise invoke `udbuild -e example.env`
# Default base images are set in distros.csv
# if BASE_IMAGE is unset then the default for LINUX_DISTRO will
# be used and the default LINUX_DISTRO is alpine
# BASE_IMAGE="dockerhubuser/mybase"
# a set LINUX_DISTRO is over written by distro of BASE_IMAGE if set
# LINUX_DISTRO=alpine
# tag of created image will be 'latest' by default
# TAG=1.0.0
# RUSER will be prepended to image name with /, and is used mostly for publishing
RUSER=example
# remote repository for pushing, default is hub.docker.com
# REPO=my.priviate.repo.net
# default target is "default" , other targets, dev, publish, amd64, arm64
# TARGET=publish
# if unset BUILD_SRC will be determined by a search
# Search looks for looks for /init and /packages
# in $PWD,$PWD/<src>/,../$PWD,../$PWD/<src>
# otherwise you can set an absolute or relative path, or use _core_'
# If BUILD_SRC can not be determined or is unset
# you will be given the option to build just with the uci core
# BUILD_SRC=../src
# For a custom container build environment
# create an environment file and then set
# this file will sourced by the "core" RUN of the build
# and also the "init" RUN
# Otherwise you can "hard code" build container envirnomnet
# at /init/build.env which is only sourced by the "init" RUN
APPEND_BUILD_ENV=./build.env