-
Notifications
You must be signed in to change notification settings - Fork 14
/
Dockerfile
28 lines (23 loc) · 1003 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" \
com.microsoft.cntk.version="2.3"
ENV CNTK_VERSION="2.3"
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="fc3e4e304fc810e93b9a350a80a6872fdc64cd124fd49571bd1ff9297c212f40" && \
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 35 --docker
WORKDIR /root