-
Notifications
You must be signed in to change notification settings - Fork 388
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature(wgt): add torch-rpc fix dockerfile (#628)
* feature(wgt): add torch-rpc dockerfile * feature(wgt): add torch-rpc fix dockerfile and add new rpc deploy CI-action * test_ci * Add the rpc image build logic to deploy.yml * add pull_request action for docker branch * add ci skip * fix: test env in ci action yml[test rpc]
- Loading branch information
1 parent
e873d9e
commit 23775e9
Showing
2 changed files
with
48 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
FROM snsao/pytorch:tensorpipe-fix as base | ||
|
||
WORKDIR /ding | ||
|
||
RUN apt update \ | ||
&& apt install libgl1-mesa-glx libglib2.0-0 libsm6 libxext6 libxrender-dev swig curl git vim gcc \g++ make wget locales dnsutils -y \ | ||
&& apt clean \ | ||
&& rm -rf /var/cache/apt/* \ | ||
&& sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen \ | ||
&& locale-gen | ||
|
||
ENV LANG en_US.UTF-8 | ||
ENV LANGUAGE en_US:UTF-8 | ||
ENV LC_ALL en_US.UTF-8 | ||
|
||
ADD setup.py setup.py | ||
ADD dizoo dizoo | ||
ADD ding ding | ||
ADD README.md README.md | ||
|
||
RUN python3 -m pip install --upgrade pip \ | ||
&& python3 -m pip install --ignore-installed 'PyYAML<6.0' \ | ||
&& python3 -m pip install --no-cache-dir .[fast,test] |