Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
alpine
docker-abuild
Commits
d7f7a1dd
Commit
d7f7a1dd
authored
Dec 31, 2019
by
Carlo Landmeter
Browse files
add dabuild.conf support
parent
5be366fe
Changes
2
Hide whitespace changes
Inline
Side-by-side
dabuild.conf
0 → 100644
View file @
d7f7a1dd
# docker-abuild (dabuild) configuration file
# uncomment to enable (defaults and options are provided)
# NOTE: these settings will override environment variables
# Override hosts architecture for build container.
# Options are: x86|x86_64|aarch64|armhf|armv7
# DABUILD_ARCH=$(uname -m)
# Arguments to Passed through to the container run command line.
# DABUILD_ARGS=
# Create and use Docker named volumes as caches for the running container,
# persisting changes across invocations
# DABUILD_CACHE=false
# If set while DABUILD_CACHE=true then remove and recreate the volumes
# acting as caches.
# DABUILD_CLEAN=false
# Output debug messages to stdout.
# DABUILD_DEBUG=false
# Sets the CLI tool to use to run the container.
# Options are docker or podman.
# DABUILD_DOCKER=docker
# Do not remove intermediate containers if set to false.
# DABUILD_RM=true
# Sets the Alpine version of the container in which the abuild invocation takes
# place. Defaults to your aports current branch, either N.N-stable or edge
# DABUILD_VERSION=
dabuild.in
View file @
d7f7a1dd
...
...
@@ -10,6 +10,11 @@ die () {
exit
1
}
# source the configuration if available
if
[
-f
"/etc/dabuild.conf"
]
;
then
.
/etc/dabuild.conf
fi
## debug
if
[
"
$DABUILD_DEBUG
"
=
"true"
]
;
then
set
-x
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment