File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
airbyte-integrations/connector-templates/generator Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 4
4
ARG GID
5
5
ENV ENV_UID $UID
6
6
ENV ENV_GID $GID
7
+ ENV DOCS_DIR "/airbyte/docs/integrations"
8
+ ENV CONFIG_DIR "/airbyte/airbyte-config/init/src/main/resources/config"
7
9
8
10
RUN mkdir -p /airbyte
9
11
WORKDIR /airbyte/airbyte-integrations/connector-templates/generator
@@ -12,4 +14,8 @@ CMD npm install --silent --no-update-notifier && echo "INSTALL DONE" && \
12
14
npm run generate "$package_desc" "$package_name" && \
13
15
LAST_CREATED_CONNECTOR=$(ls -td /airbyte/airbyte-integrations/connectors/* | head -n 1) && \
14
16
echo "chowning generated directory: $LAST_CREATED_CONNECTOR" && \
15
- chown -R $ENV_UID:$ENV_GID $LAST_CREATED_CONNECTOR/*
17
+ chown -R $ENV_UID:$ENV_GID $LAST_CREATED_CONNECTOR/* && \
18
+ echo "chowning docs directory: $DOCS_DIR" && \
19
+ chown -R $ENV_UID:$ENV_GID $DOCS_DIR/* && \
20
+ echo "chowning config directory: $CONFIG_DIR" && \
21
+ chown -R $ENV_UID:$ENV_GID $CONFIG_DIR/*
You can’t perform that action at this time.
0 commit comments