Skip to content

Commit 1442b1a

Browse files
committed
chore: make SDM rootless
1 parent 10ce110 commit 1442b1a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,14 @@ RUN mkdir -p source_declarative_manifest \
2020
&& cp /usr/local/lib/python3.10/site-packages/airbyte_cdk/cli/source_declarative_manifest/_run.py source_declarative_manifest/run.py \
2121
&& cp /usr/local/lib/python3.10/site-packages/airbyte_cdk/cli/source_declarative_manifest/spec.json source_declarative_manifest/
2222

23+
24+
2325
# Remove unnecessary build files
2426
RUN rm -rf dist/ pyproject.toml poetry.lock README.md
2527

28+
# Set ownership of /airbyte to the airbyte user
29+
RUN chown -R airbyte /airbyte
30+
2631
# Set the entrypoint
2732
ENV AIRBYTE_ENTRYPOINT="python /airbyte/integration_code/main.py"
2833
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

0 commit comments

Comments
 (0)