aboutsummaryrefslogtreecommitdiffstats
path: root/build-docker.sh
diff options
context:
space:
mode:
authorClaude Warren <[email protected]>2021-06-16 14:32:21 +0100
committerGitHub <[email protected]>2021-06-16 14:32:21 +0100
commitf271ce26e91434e7607137f309c2411aa345f7c5 (patch)
treea42fcffbe445d12d827524d3ccc444fabed4ab38 /build-docker.sh
parentdcfd74d7d1fa293065ac6d565711e9ff891fe2b8 (diff)
Added PIGEN_DOCKER_OPTS to build-docker.sh (#521)
Diffstat (limited to 'build-docker.sh')
-rwxr-xr-xbuild-docker.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/build-docker.sh b/build-docker.sh
index 5d31f86..9538a8b 100755
--- a/build-docker.sh
+++ b/build-docker.sh
@@ -91,6 +91,7 @@ if [ "${CONTAINER_EXISTS}" != "" ]; then
--cap-add=ALL \
-v /dev:/dev \
-v /lib/modules:/lib/modules \
+ ${PIGEN_DOCKER_OPTS} \
--volume "${CONFIG_FILE}":/config:ro \
-e "GIT_HASH=${GIT_HASH}" \
--volumes-from="${CONTAINER_NAME}" --name "${CONTAINER_NAME}_cont" \
@@ -105,6 +106,7 @@ else
--cap-add=ALL \
-v /dev:/dev \
-v /lib/modules:/lib/modules \
+ ${PIGEN_DOCKER_OPTS} \
--volume "${CONFIG_FILE}":/config:ro \
-e "GIT_HASH=${GIT_HASH}" \
pi-gen \