fix: adjust GitLoader to work in a hosted environment (#5040)
* fix: add git installation to dockerfile dependencies * chore: make input optional
This commit is contained in:
parent
41d3fbcc2a
commit
44a3e7643a
4 changed files with 5 additions and 2 deletions
|
|
@ -24,6 +24,7 @@ RUN apt-get update \
|
||||||
&& apt-get install --no-install-recommends -y \
|
&& apt-get install --no-install-recommends -y \
|
||||||
# deps for building python deps
|
# deps for building python deps
|
||||||
build-essential \
|
build-essential \
|
||||||
|
git \
|
||||||
# npm
|
# npm
|
||||||
npm \
|
npm \
|
||||||
# gcc
|
# gcc
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,7 @@ RUN apt-get update \
|
||||||
&& apt-get install --no-install-recommends -y \
|
&& apt-get install --no-install-recommends -y \
|
||||||
# deps for building python deps
|
# deps for building python deps
|
||||||
build-essential \
|
build-essential \
|
||||||
|
git \
|
||||||
# npm
|
# npm
|
||||||
npm \
|
npm \
|
||||||
# gcc
|
# gcc
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,7 @@ RUN apt-get update \
|
||||||
&& apt-get install --no-install-recommends -y \
|
&& apt-get install --no-install-recommends -y \
|
||||||
# deps for building python deps
|
# deps for building python deps
|
||||||
build-essential \
|
build-essential \
|
||||||
|
git \
|
||||||
# npm
|
# npm
|
||||||
npm \
|
npm \
|
||||||
# gcc
|
# gcc
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ class GitLoaderComponent(Component):
|
||||||
MessageTextInput(
|
MessageTextInput(
|
||||||
name="repo_path",
|
name="repo_path",
|
||||||
display_name="Repository Path",
|
display_name="Repository Path",
|
||||||
required=True,
|
required=False,
|
||||||
info="The local path to the Git repository.",
|
info="The local path to the Git repository.",
|
||||||
),
|
),
|
||||||
MessageTextInput(
|
MessageTextInput(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue