Skip to content

Commit 915aa32

Browse files
committed
fix build
1 parent 858a54e commit 915aa32

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docker/datahub-ingestion-base/Dockerfile

+5-5
Original file line numberDiff line numberDiff line change
@@ -56,19 +56,19 @@ RUN apt-get update && apt-get install -y -qq \
5656
# compiled against newer golang for security fixes
5757
COPY --from=dockerize-binary /go/bin/dockerize /usr/local/bin
5858

59-
RUN addgroup --gid 1000 datahub && \
60-
adduser --disabled-password --uid 1000 --gid 1000 --home /datahub-ingestion datahub
61-
6259
COPY ./docker/datahub-ingestion-base/base-requirements.txt requirements.txt
6360
COPY ./docker/datahub-ingestion-base/entrypoint.sh /entrypoint.sh
6461

62+
RUN addgroup --gid 1000 datahub && \
63+
adduser --disabled-password --uid 1000 --gid 1000 --home /datahub-ingestion datahub && \
64+
chmod +x /entrypoint.sh
65+
6566
USER datahub
6667
ENV VIRTUAL_ENV=/datahub-ingestion/.venv
6768
ENV PATH="${VIRTUAL_ENV}/bin:$PATH"
6869
RUN python3 -m venv $VIRTUAL_ENV && \
6970
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
7272

7373
ENTRYPOINT [ "/entrypoint.sh" ]
7474

0 commit comments

Comments
 (0)