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 \
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
117+
118+ RUN chmod +x /usr/local/bin/deep_learning_container.py
119+
116120RUN curl https://aws-dlc-licenses.s3.amazonaws.com/tensorflow/license.txt -o /license.txt
117121
118122CMD ["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
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
159+
160+ RUN chmod +x /usr/local/bin/deep_learning_container.py
161+
158162RUN curl https://aws-dlc-licenses.s3.amazonaws.com/tensorflow/license.txt -o /license.txt
159163
160164CMD ["bin/bash"]
Original file line number Diff line number Diff line change @@ -116,6 +116,10 @@ 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
120+
121+ RUN chmod +x /usr/local/bin/deep_learning_container.py
122+
119123RUN curl https://aws-dlc-licenses.s3.amazonaws.com/tensorflow/license.txt -o /license.txt
120124
121125CMD ["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
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
166+
167+ RUN chmod +x /usr/local/bin/deep_learning_container.py
168+
165169RUN curl https://aws-dlc-licenses.s3.amazonaws.com/tensorflow/license.txt -o /license.txt
166170
167171CMD ["bin/bash"]
You can’t perform that action at this time.
0 commit comments