File tree Expand file tree Collapse file tree 8 files changed +32
-0
lines changed Expand file tree Collapse file tree 8 files changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -121,6 +121,10 @@ 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
125+
126+ RUN chmod +x /usr/local/bin/deep_learning_container.py
127+
124128RUN curl https://aws-dlc-licenses.s3.amazonaws.com/tensorflow-2.0.1/license.txt -o /license.txt
125129
126130CMD ["bin/bash"]
Original file line number Diff line number Diff line change @@ -157,6 +157,10 @@ 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
161+
162+ RUN chmod +x /usr/local/bin/deep_learning_container.py
163+
160164RUN curl https://aws-dlc-licenses.s3.amazonaws.com/tensorflow-2.0.1/license.txt -o /license.txt
161165
162166CMD ["bin/bash"]
Original file line number Diff line number Diff line change @@ -119,6 +119,10 @@ 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
123+
124+ RUN chmod +x /usr/local/bin/deep_learning_container.py
125+
122126RUN curl https://aws-dlc-licenses.s3.amazonaws.com/tensorflow-2.0.1/license.txt -o /license.txt
123127
124128CMD ["bin/bash"]
Original file line number Diff line number Diff line change @@ -167,6 +167,10 @@ 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
171+
172+ RUN chmod +x /usr/local/bin/deep_learning_container.py
173+
170174RUN curl https://aws-dlc-licenses.s3.amazonaws.com/tensorflow-2.0.1/license.txt -o /license.txt
171175
172176CMD ["bin/bash"]
Original file line number Diff line number Diff line change @@ -121,6 +121,10 @@ 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
125+
126+ RUN chmod +x /usr/local/bin/deep_learning_container.py
127+
124128RUN curl https://aws-dlc-licenses.s3.amazonaws.com/tensorflow-2.1/license.txt -o /license.txt
125129
126130CMD ["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-2.1/license.txt -o /license.txt
166170
167171CMD ["bin/bash"]
Original file line number Diff line number Diff line change @@ -122,6 +122,10 @@ 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
126+
127+ RUN chmod +x /usr/local/bin/deep_learning_container.py
128+
125129RUN curl https://aws-dlc-licenses.s3.amazonaws.com/tensorflow-2.1/license.txt -o /license.txt
126130
127131CMD ["bin/bash"]
Original file line number Diff line number Diff line change @@ -175,6 +175,10 @@ 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
179+
180+ RUN chmod +x /usr/local/bin/deep_learning_container.py
181+
178182RUN curl https://aws-dlc-licenses.s3.amazonaws.com/tensorflow-2.1/license.txt -o /license.txt
179183
180184CMD ["bin/bash"]
You can’t perform that action at this time.
0 commit comments