File tree Expand file tree Collapse file tree 4 files changed +16
-0
lines changed Expand file tree Collapse file tree 4 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -113,6 +113,10 @@ RUN pip install --no-cache-dir -U \
113
113
&& pip install --no-cache-dir -U \
114
114
horovod==0.18.2
115
115
116
+ COPY deep_learning_container.py /usr/local/bin/deep_learning_container.py
117
+
118
+ RUN chmod +x /usr/local/bin/deep_learning_container.py
119
+
116
120
RUN curl https://aws-dlc-licenses.s3.amazonaws.com/tensorflow/license.txt -o /license.txt
117
121
118
122
CMD ["bin/bash"]
Original file line number Diff line number Diff line change @@ -155,6 +155,10 @@ RUN cat /etc/ssh/ssh_config | grep -v StrictHostKeyChecking > /etc/ssh/ssh_confi
155
155
&& echo " StrictHostKeyChecking no" >> /etc/ssh/ssh_config.new \
156
156
&& mv /etc/ssh/ssh_config.new /etc/ssh/ssh_config
157
157
158
+ COPY deep_learning_container.py /usr/local/bin/deep_learning_container.py
159
+
160
+ RUN chmod +x /usr/local/bin/deep_learning_container.py
161
+
158
162
RUN curl https://aws-dlc-licenses.s3.amazonaws.com/tensorflow/license.txt -o /license.txt
159
163
160
164
CMD ["bin/bash"]
Original file line number Diff line number Diff line change @@ -116,6 +116,10 @@ RUN pip install --no-cache-dir -U \
116
116
awscli\
117
117
&& rm -f $FRAMEWORK_SUPPORT_INSTALLABLE
118
118
119
+ COPY deep_learning_container.py /usr/local/bin/deep_learning_container.py
120
+
121
+ RUN chmod +x /usr/local/bin/deep_learning_container.py
122
+
119
123
RUN curl https://aws-dlc-licenses.s3.amazonaws.com/tensorflow/license.txt -o /license.txt
120
124
121
125
CMD ["bin/bash"]
Original file line number Diff line number Diff line change @@ -162,6 +162,10 @@ RUN cat /etc/ssh/ssh_config | grep -v StrictHostKeyChecking > /etc/ssh/ssh_confi
162
162
&& echo " StrictHostKeyChecking no" >> /etc/ssh/ssh_config.new \
163
163
&& mv /etc/ssh/ssh_config.new /etc/ssh/ssh_config
164
164
165
+ COPY deep_learning_container.py /usr/local/bin/deep_learning_container.py
166
+
167
+ RUN chmod +x /usr/local/bin/deep_learning_container.py
168
+
165
169
RUN curl https://aws-dlc-licenses.s3.amazonaws.com/tensorflow/license.txt -o /license.txt
166
170
167
171
CMD ["bin/bash"]
You can’t perform that action at this time.
0 commit comments