Skip to content

Commit

Permalink
build(backend): fix "ModuleNotFoundError: No module named setuptools.…
Browse files Browse the repository at this point in the history
…_distutils". Part of kubeflow#4443 (kubeflow#4445)
  • Loading branch information
Bobgy authored and Jeffwan committed Dec 9, 2020
1 parent 3ac0588 commit 081562e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions backend/Dockerfile.visualization
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ COPY backend/src/apiserver/visualization/license.sh /src
COPY backend/src/apiserver/visualization/third_party_licenses.csv /src
COPY backend/src/apiserver/visualization/third_party_licenses /usr/licenses

# TODO(Bobgy): remove this when #4443 has a permanent solution, this is a
# temporary workaround.
ENV SETUPTOOLS_USE_DISTUTILS stdlib

RUN ./license.sh third_party_licenses.csv /usr/licenses

COPY backend/src/apiserver/visualization /src
Expand Down

0 comments on commit 081562e

Please sign in to comment.