-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from jinlmsft/master
Update Dockerfile
- Loading branch information
Showing
5 changed files
with
42 additions
and
9 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
FROM qianjiangyuan/tutorial-horovod:1.7 | ||
FROM qianjiangyuan/tutorial-horovod:1.8 | ||
MAINTAINER Jin Li <[email protected]> | ||
|
||
RUN git clone https://github.com/NVIDIA/apex.git && cd apex && python setup.py install --cuda_ext --cpp_ext | ||
|
||
RUN pip install pytorch-pretrained-bert pytest | ||
RUN pip install pytorch-pretrained-bert pytest |
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
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 |
---|---|---|
|
@@ -15,5 +15,7 @@ server { | |
include /etc/nginx/conf.other/*.conf; | ||
} | ||
|
||
include /etc/nginx/conf.other/*.map; | ||
|
||
|
||
|
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 |
---|---|---|
@@ -1,8 +1,23 @@ | ||
FROM horovod/horovod:0.16.1-tf1.12.0-torch1.0.0-mxnet1.4.0-py3.5 | ||
FROM horovod/horovod:0.18.1-tf1.14.0-torch1.2.0-mxnet1.5.0-py3.6 | ||
MAINTAINER Jin Li <[email protected]> | ||
|
||
# RUN rm -rf /var/lib/apt/lists/* | ||
# Add network tools for debug | ||
RUN umask 022 | ||
|
||
## for apt to be noninteractive | ||
ENV DEBIAN_FRONTEND noninteractive | ||
ENV DEBCONF_NONINTERACTIVE_SEEN true | ||
|
||
## preesed tzdata, update package index, upgrade packages and install needed software | ||
RUN echo "tzdata tzdata/Areas select America" > /tmp/preseed.txt; \ | ||
echo "tzdata tzdata/Zones/America select Los_Angeles" >> /tmp/preseed.txt; \ | ||
debconf-set-selections /tmp/preseed.txt && \ | ||
# rm /etc/timezone && \ | ||
# rm /etc/localtime && \ | ||
apt-get update && \ | ||
apt-get install -y tzdata | ||
|
||
RUN apt-get -y update && \ | ||
apt-get -y install \ | ||
vim \ | ||
|
@@ -19,7 +34,19 @@ RUN apt-get -y update && \ | |
openssh-server \ | ||
sudo \ | ||
nodejs \ | ||
software-properties-common | ||
software-properties-common \ | ||
net-tools \ | ||
dnsutils \ | ||
openssh-server \ | ||
sudo \ | ||
inetutils-ping inetutils-traceroute | ||
|
||
RUN echo $'# Add by Dockerfile\n\ | ||
AddressFamily inet\n\ | ||
AllowTcpForwarding yes\n\ | ||
X11UseLocalhost yes\n\ | ||
X11DisplayOffset 10\n\ | ||
' >> /etc/ssh/sshd_config | ||
|
||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
build-essential \ | ||
|
@@ -99,6 +126,7 @@ RUN pip3 install jupyterlab | |
RUN python3 -m pip install ipykernel | ||
RUN python3 -m ipykernel install --user | ||
|
||
|
||
#Telemetry | ||
#-------------- | ||
#The .NET Core tools collect usage data in order to improve your experience. The data is anonymous and does not include command-line arguments. The data is collected by Microsoft and shared with the community. | ||
|