File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 1
- FROM docker.io/airbyte/python-connector-base:2 .0.0@sha256:c44839ba84406116e8ba68722a0f30e8f6e7056c726f447681bb9e9ece8bd916
1
+ FROM docker.io/airbyte/python-connector-base:3 .0.0@sha256:1a0845ff2b30eafa793c6eee4e8f4283c2e52e1bbd44eed6cb9e9abd5d34d844
2
2
3
3
WORKDIR /airbyte/integration_code
4
4
@@ -23,6 +23,10 @@ RUN mkdir -p source_declarative_manifest \
23
23
# Remove unnecessary build files
24
24
RUN rm -rf dist/ pyproject.toml poetry.lock README.md
25
25
26
+ # Set ownership of /airbyte to the non-root airbyte user and group (1000:1000)
27
+ RUN chown -R 1000:1000 /airbyte
28
+
26
29
# Set the entrypoint
27
30
ENV AIRBYTE_ENTRYPOINT="python /airbyte/integration_code/main.py"
28
31
ENTRYPOINT ["python" , "/airbyte/integration_code/main.py" ]
32
+ USER airbyte
You can’t perform that action at this time.
0 commit comments