Skip to content

Commit abe4fd9

Browse files
committed
Workaround container image failure
Signed-off-by: mprahl <[email protected]>
1 parent d014e67 commit abe4fd9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: Dockerfile

+5
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,13 @@ COPY ${SOURCE_CODE} .
99

1010
USER root
1111

12+
# Remove the sed after using a released KFP SDK. This is a workaround since pip install requires everything have
13+
# hashes if provided and git sources cannot have a hash.
14+
# See: https://github.com/pypa/pip/issues/6469
1215
RUN echo "Installing Runtime Dependencies" && \
1316
dnf install -y skopeo && dnf clean all && \
17+
sed -i 's/kfp @.*//g' requirements.txt && \
18+
pip install --no-deps 'kfp @ git+https://github.com/kubeflow/pipelines@26946059963051cce5a8a70270ebc6bc9f7e2bd6#egg=kfp&subdirectory=sdk/python' && \
1419
pip install --no-cache-dir -r requirements.txt && \
1520
chgrp -R 0 . && \
1621
chmod -R g=u . && \

0 commit comments

Comments
 (0)