Skip to content

Commit 388855c

Browse files
TusharKanekiDeyTushar Dey
andauthored
Allowing arguments for deep_learning_container.py for tf1.15 (#330)
Co-authored-by: Tushar Dey <tshdy@amazon.com>
1 parent 3995620 commit 388855c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docker/1.15.2/py2/Dockerfile.cpu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ RUN pip install --no-cache-dir -U \
113113
&& pip install --no-cache-dir -U \
114114
horovod==0.18.2
115115

116-
COPY deep_learning_container.py /usr/local/bin/deep_learning_container.py
116+
ADD https://raw.githubusercontent.com/aws/aws-deep-learning-containers-utils/master/deep_learning_container.py /usr/local/bin/deep_learning_container.py
117117

118118
RUN chmod +x /usr/local/bin/deep_learning_container.py
119119

docker/1.15.2/py2/Dockerfile.gpu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ RUN cat /etc/ssh/ssh_config | grep -v StrictHostKeyChecking > /etc/ssh/ssh_confi
155155
&& echo " StrictHostKeyChecking no" >> /etc/ssh/ssh_config.new \
156156
&& mv /etc/ssh/ssh_config.new /etc/ssh/ssh_config
157157

158-
COPY deep_learning_container.py /usr/local/bin/deep_learning_container.py
158+
ADD https://raw.githubusercontent.com/aws/aws-deep-learning-containers-utils/master/deep_learning_container.py /usr/local/bin/deep_learning_container.py
159159

160160
RUN chmod +x /usr/local/bin/deep_learning_container.py
161161

docker/1.15.2/py3/Dockerfile.cpu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ RUN pip install --no-cache-dir -U \
116116
awscli\
117117
&& rm -f $FRAMEWORK_SUPPORT_INSTALLABLE
118118

119-
COPY deep_learning_container.py /usr/local/bin/deep_learning_container.py
119+
ADD https://raw.githubusercontent.com/aws/aws-deep-learning-containers-utils/master/deep_learning_container.py /usr/local/bin/deep_learning_container.py
120120

121121
RUN chmod +x /usr/local/bin/deep_learning_container.py
122122

docker/1.15.2/py3/Dockerfile.gpu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ RUN cat /etc/ssh/ssh_config | grep -v StrictHostKeyChecking > /etc/ssh/ssh_confi
162162
&& echo " StrictHostKeyChecking no" >> /etc/ssh/ssh_config.new \
163163
&& mv /etc/ssh/ssh_config.new /etc/ssh/ssh_config
164164

165-
COPY deep_learning_container.py /usr/local/bin/deep_learning_container.py
165+
ADD https://raw.githubusercontent.com/aws/aws-deep-learning-containers-utils/master/deep_learning_container.py /usr/local/bin/deep_learning_container.py
166166

167167
RUN chmod +x /usr/local/bin/deep_learning_container.py
168168

0 commit comments

Comments
 (0)