-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathDockerfile
28 lines (23 loc) · 1001 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Ubuntu 14.04
FROM ubuntu:14.04
LABEL maintainer "MICROSOFT CORPORATION"
LABEL com.microsoft.cntk.version="2.0"
ENV CNTK_VERSION="2.0"
RUN apt-get update && apt-get install -y --no-install-recommends \
# General
ca-certificates \
wget \
&& \
# Clean-up
apt-get -y autoremove \
&& \
rm -rf /var/lib/apt/lists/*
# Get CNTK Binary Distribution
RUN CNTK_VERSION_DASHED=$(echo $CNTK_VERSION | tr . -) && \
CNTK_SHA256="7025b1b708ec2b9da0c859c5f8783ad48a81cc840b530d0be32b9e66d600101c" && \
wget -q https://cntk.ai/BinaryDrop/CNTK-${CNTK_VERSION_DASHED}-Linux-64bit-CPU-Only.tar.gz && \
echo "$CNTK_SHA256 CNTK-${CNTK_VERSION_DASHED}-Linux-64bit-CPU-Only.tar.gz" | sha256sum --check --strict - && \
tar -xzf CNTK-${CNTK_VERSION_DASHED}-Linux-64bit-CPU-Only.tar.gz && \
rm -f CNTK-${CNTK_VERSION_DASHED}-Linux-64bit-CPU-Only.tar.gz && \
/bin/bash /cntk/Scripts/install/linux/install-cntk.sh --py-version 27 --docker
WORKDIR /root