Commit 915aa32 1 parent 858a54e commit 915aa32 Copy full SHA for 915aa32
File tree 1 file changed +5
-5
lines changed
docker/datahub-ingestion-base
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -56,19 +56,19 @@ RUN apt-get update && apt-get install -y -qq \
56
56
# compiled against newer golang for security fixes
57
57
COPY --from=dockerize-binary /go/bin/dockerize /usr/local/bin
58
58
59
- RUN addgroup --gid 1000 datahub && \
60
- adduser --disabled-password --uid 1000 --gid 1000 --home /datahub-ingestion datahub
61
-
62
59
COPY ./docker/datahub-ingestion-base/base-requirements.txt requirements.txt
63
60
COPY ./docker/datahub-ingestion-base/entrypoint.sh /entrypoint.sh
64
61
62
+ RUN addgroup --gid 1000 datahub && \
63
+ adduser --disabled-password --uid 1000 --gid 1000 --home /datahub-ingestion datahub && \
64
+ chmod +x /entrypoint.sh
65
+
65
66
USER datahub
66
67
ENV VIRTUAL_ENV=/datahub-ingestion/.venv
67
68
ENV PATH="${VIRTUAL_ENV}/bin:$PATH"
68
69
RUN python3 -m venv $VIRTUAL_ENV && \
69
70
uv pip install --no-cache -r requirements.txt && \
70
- pip uninstall -y acryl-datahub && \
71
- chmod +x /entrypoint.sh
71
+ pip uninstall -y acryl-datahub
72
72
73
73
ENTRYPOINT [ "/entrypoint.sh" ]
74
74
You can’t perform that action at this time.
0 commit comments