Skip to content

Commit 0283034

Browse files
author
Abdul Dakkak
committed
fix dockerfile
1 parent cc2d4e2 commit 0283034

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

dockerfiles/Dockerfile.amd64_cpu

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,12 @@ LABEL org.carml.go-cntk.build-date=$BUILD_DATE \
2323
########## LIBRARY INSTALLATION ###################
2424
WORKDIR /opt
2525

26+
## For libpng12-0
27+
RUN echo "deb http://mirrors.kernel.org/ubuntu/ xenial main" | tee -a /etc/apt/sources.list
28+
2629
RUN apt-get update && apt-get install -y sudo && rm -rf /var/lib/apt/lists/*
2730

31+
2832
RUN CNTK_VERSION_DASHED=$(echo $FRAMEWORK_VERSION | tr . -) && \
2933
CNTK_SHA256="386fe7589cb8759611d68a8ed8c888bf6b5dec3c3b2772c2c6a680ffe9fcce60" && \
3034
wget -q https://cntk.ai/BinaryDrop/CNTK-${CNTK_VERSION_DASHED}-Linux-64bit-CPU-Only.tar.gz && \

dockerfiles/Dockerfile.amd64_gpu

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ LABEL org.carml.go-cntk.build-date=$BUILD_DATE \
2323
########## LIBRARY INSTALLATION ###################
2424
WORKDIR /opt
2525

26+
## For libpng12-0
27+
RUN echo "deb http://mirrors.kernel.org/ubuntu/ xenial main" | tee -a /etc/apt/sources.list
28+
2629
RUN apt-get update && apt-get install -y sudo && rm -rf /var/lib/apt/lists/*
2730

2831
RUN CNTK_VERSION_DASHED=$(echo $FRAMEWORK_VERSION | tr . -) && \

0 commit comments

Comments
 (0)