Skip to content

Commit

Permalink
add mirror and modify dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
freeliuzc committed Jun 24, 2022
1 parent 4d5c1af commit 2795c7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tekton/dockerfiles/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ WORKDIR /home/${PADDLE_TOOLKIT}

# toolkit install
RUN pip3.7 install --no-cache-dir -r requirements.txt -i https://mirror.baidu.com/pypi/simple
RUN python3.7 setup.py install -i https://mirror.baidu.com/pypi/simple
RUN python3.7 setup.py install

ENTRYPOINT ["/tini", "--"]
CMD ["jupyter", "lab", "--ip=0.0.0.0", "--port=8888", \
Expand Down
1 change: 1 addition & 0 deletions tekton/pipelines/single.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ spec:
value:
- --build-arg=IMAGE_TAG=$(params.toolkit-base-image-tag)
- --build-arg=PADDLE_TOOLKIT=$(params.toolkit-repo-name)
- --registry-mirror=mirror.baidubce.com
workspaces:
- name: source
workspace: shared-data
Expand Down

0 comments on commit 2795c7c

Please sign in to comment.