Restructuring build flows to choose user as default but be overridable
This commit is contained in:
@@ -12,6 +12,9 @@ function main() {
|
||||
cd "${SCRIPTPATH}/.."
|
||||
echo "Working Dir: " $(pwd)
|
||||
|
||||
podman build -t "${CONTAINER}" -f Docker/Dockerfile .
|
||||
podman build \
|
||||
--build-arg USERNAME="${USER}" \
|
||||
-t "${CONTAINER}" \
|
||||
-f Docker/Dockerfile .
|
||||
}
|
||||
main $@;
|
||||
|
||||
Reference in New Issue
Block a user