mirror of
https://github.com/dani-garcia/bw_web_builds.git
synced 2024-12-27 12:58:15 +03:00
12568dfbb4
Sometimes you want to set specific environment variables during build. For example, on some systems nodejs needs some extra options to be able to run correctly on low memory systems. To make sure this will be loaded and works on both scripts and Dockerfile, you can now create a `.build_env` file. This `.build_env` file should contain all the variables (including an export command) you want to expose during build time. The template file has a nodejs example. Closes #183 Signed-off-by: BlackDex <black.dex@gmail.com>
15 lines
399 B
Bash
15 lines
399 B
Bash
# shellcheck disable=SC2034,SC2148
|
|
# ###
|
|
# Do not use quotes for these variables!
|
|
# ###
|
|
|
|
# To use either docker or podman
|
|
# The default is docker
|
|
# CONTAINER_CMD=docker
|
|
|
|
# This is only used for the gh-release command
|
|
# Which Key or User to use to signing the web-vault tar.gz file
|
|
# GPG_SIGNING_USER=user@domain.tld
|
|
# GPG_SIGNING_USER=MY_LONG_UNIQUE_GPG_KEY_IDENTIFIER
|
|
|
|
# vim: syntax=sh filetype=sh
|