forked from microsoft/nni
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade Dockerfile to Ubuntu 18.04 (microsoft#2783)
* Upgrade dockerfile to ubuntu 18.04 * Upgrade to cuda 9.2 * Set frontend noninteractive * Upgrade tensorflow to 1.15.2 * Fix pip version
- Loading branch information
Showing
1 changed file
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
# Copyright (c) Microsoft Corporation. | ||
# Licensed under the MIT license. | ||
|
||
FROM nvidia/cuda:9.0-cudnn7-runtime-ubuntu16.04 | ||
FROM nvidia/cuda:9.2-cudnn7-runtime-ubuntu18.04 | ||
|
||
LABEL maintainer='Microsoft NNI Team<[email protected]>' | ||
|
||
RUN DEBIAN_FRONTEND=noninteractive && \ | ||
apt-get -y update && \ | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
RUN apt-get -y update && \ | ||
apt-get -y install sudo \ | ||
apt-utils \ | ||
git \ | ||
|
@@ -21,7 +22,7 @@ RUN DEBIAN_FRONTEND=noninteractive && \ | |
openssh-client \ | ||
openssh-server \ | ||
lsof \ | ||
python3.5 \ | ||
python3.6 \ | ||
python3-dev \ | ||
python3-pip \ | ||
python3-tk \ | ||
|
@@ -37,7 +38,7 @@ RUN cp /usr/bin/python3 /usr/bin/python | |
# | ||
# update pip | ||
# | ||
RUN python3 -m pip install --upgrade pip setuptools==39.1.0 | ||
RUN python3 -m pip install --upgrade pip==20.0.2 setuptools==39.1.0 | ||
|
||
# numpy 1.14.3 scipy 1.1.0 | ||
RUN python3 -m pip --no-cache-dir install \ | ||
|
@@ -46,7 +47,7 @@ RUN python3 -m pip --no-cache-dir install \ | |
# | ||
# Tensorflow 1.15 | ||
# | ||
RUN python3 -m pip --no-cache-dir install tensorflow-gpu==1.15 | ||
RUN python3 -m pip --no-cache-dir install tensorflow-gpu==1.15.0 | ||
|
||
# | ||
# Keras 2.1.6 | ||
|