Skip to content

Commit ae26ee9

Browse files
icywang86ruiEliza Zhang
authored andcommitted
Merge dockerfiles
1 parent 81538b5 commit ae26ee9

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

docker/1.13.1/Dockerfile.cpu

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,15 @@ ENV PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1 PYTHONIOENCODING=UTF-8 LANG=C.U
7373

7474
ARG framework_support_installable=sagemaker_tensorflow_container-2.0.0.tar.gz
7575
COPY $framework_support_installable .
76+
<<<<<<< HEAD
7677
ARG TF_URL="https://tensorflow-aws.s3-us-west-2.amazonaws.com/1.13/AmazonLinux/cpu/latest-patch-latest-patch/tensorflow-1.13.1-cp36-cp36m-linux_x86_64.whl"
7778

7879
RUN ${PIP} --no-cache-dir install --upgrade pip setuptools
80+
=======
81+
ARG TF_URL="https://s3-us-west-2.amazonaws.com/tensorflow-aws/1.13/AmazonLinux/cpu/latest-patch-s3_testcopy.patch/tensorflow-1.13.1-cp36-cp36m-linux_x86_64.whl"
82+
83+
RUN ${PIP} --no-cache-dir install --upgrade pip setuptools
84+
>>>>>>> Merge dockerfiles
7985

8086
# Some TF tools expect a "python" binary
8187
RUN ln -s $(which ${PYTHON}) /usr/local/bin/python

scripts/build_all.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ def _parse_args():
5858
subprocess.check_call(login_cmd.split())
5959

6060
for arch in ['cpu', 'gpu']:
61-
for py_version in ['2', '3']:
61+
for py_version in ['3']:
6262

6363
binary_url = binaries['py{}-{}'.format(py_version, arch)]
6464
binary_file = os.path.basename(binary_url)
6565
cmd = 'wget -O {}/{} {}'.format(build_dir, binary_file, binary_url)
6666
print('Downloading binary file: {}'.format(cmd))
67-
subprocess.check_call(cmd.split())
67+
# subprocess.check_call(cmd.split())
6868

6969
tag = '{}-{}-py{}'.format(args.version, arch, py_version)
7070
prev_image_uri = '{}.dkr.ecr.{}.amazonaws.com/{}:{}'.format(args.account, args.region, args.repo, tag)

scripts/publish_all.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def _parse_args():
3636
args = _parse_args()
3737

3838
for arch in ['cpu', 'gpu']:
39-
for py_version in ['2', '3']:
39+
for py_version in ['3']:
4040
source = '{}:{}-{}-py{}'.format(args.repo, args.version, arch, py_version)
4141
dest = '{}.dkr.ecr.{}.amazonaws.com/{}'.format(args.account, args.region, source)
4242
tag_cmd = 'docker tag {} {}'.format(source, dest)

0 commit comments

Comments
 (0)