Skip to content

Commit ab113b9

Browse files
TusharKanekiDeyTushar Dey
andauthored
Allowing arguments for deep_learning_container.py for tf2 (#331)
Co-authored-by: Tushar Dey <tshdy@amazon.com>
1 parent 19f9aa3 commit ab113b9

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

docker/2.0.1/py2/Dockerfile.cpu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ RUN ${PIP} install --no-cache-dir -U \
121121
&& ${PIP} install --no-cache-dir -U \
122122
horovod==0.18.2
123123

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

126126
RUN chmod +x /usr/local/bin/deep_learning_container.py
127127

docker/2.0.1/py2/Dockerfile.gpu

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

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

162162
RUN chmod +x /usr/local/bin/deep_learning_container.py
163163

docker/2.0.1/py3/Dockerfile.cpu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ RUN ${PIP} install --no-cache-dir -U \
119119
$FRAMEWORK_SUPPORT_INSTALLABLE \
120120
&& rm -f $FRAMEWORK_SUPPORT_INSTALLABLE
121121

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

124124
RUN chmod +x /usr/local/bin/deep_learning_container.py
125125

docker/2.0.1/py3/Dockerfile.gpu

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

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

172172
RUN chmod +x /usr/local/bin/deep_learning_container.py
173173

docker/2.1.0/py2/Dockerfile.cpu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ RUN ${PIP} install --no-cache-dir -U \
121121
&& ${PIP} install --no-cache-dir -U \
122122
horovod==0.18.2
123123

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

126126
RUN chmod +x /usr/local/bin/deep_learning_container.py
127127

docker/2.1.0/py2/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

docker/2.1.0/py3/Dockerfile.cpu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ RUN ${PIP} install --no-cache-dir -U \
122122
$FRAMEWORK_SUPPORT_INSTALLABLE \
123123
&& rm -f $FRAMEWORK_SUPPORT_INSTALLABLE
124124

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

127127
RUN chmod +x /usr/local/bin/deep_learning_container.py
128128

docker/2.1.0/py3/Dockerfile.gpu

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

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

180180
RUN chmod +x /usr/local/bin/deep_learning_container.py
181181

0 commit comments

Comments
 (0)