no need for newlines in docker args
This commit is contained in:
1 parent
024f98c2c8
commit
0f4ff8b724
2 files changed
+3
-3
No files matched your search
@@ -15,9 +15,9 @@ config_docker_args() {
|
|||||||
config_export global | sed -e "s:^export ::g" -e "s:=':=:g" -e "s:'$::g" > "$DOCKERFILE_ENV_FILE"
|
config_export global | sed -e "s:^export ::g" -e "s:=':=:g" -e "s:'$::g" > "$DOCKERFILE_ENV_FILE"
|
||||||
config_export app "$APP" | sed -e "s:^export ::g" -e "s:=':=:g" -e "s:'$::g" >> "$DOCKERFILE_ENV_FILE"
|
config_export app "$APP" | sed -e "s:^export ::g" -e "s:=':=:g" -e "s:'$::g" >> "$DOCKERFILE_ENV_FILE"
|
||||||
|
|
||||||
echo "$STDIN --env-file=$DOCKERFILE_ENV_FILE"
|
echo -n "$STDIN --env-file=$DOCKERFILE_ENV_FILE"
|
||||||
else
|
else
|
||||||
echo "$STDIN"
|
echo -n "$STDIN"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ docker_args() {
|
|||||||
done < "$PHASE_FILE_PATH"
|
done < "$PHASE_FILE_PATH"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "$STDIN$output"
|
echo -n "$STDIN$output"
|
||||||
}
|
}
|
||||||
|
|
||||||
docker_args "$@"
|
docker_args "$@"
|
||||||
Reference in new issue
Block a user