Vanilla Tensorflow 1.12 on ClearLinux 26270
107
The Dockerfile:
############################################################# FROM clearlinux
LABEL maintainer="unrahul" ARG TF_VERSION=1.12.0 ARG CLR_VERSION=26270
RUN swupd update -m ${CLR_VERSION} &&
swupd bundle-add python-basic-dev python3-basic curl git
RUN curl https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-${TF_VERSION}-cp36-cp36m-linux_x86_64.whl
-o tensorflow-1.12.0-cp37-cp37m-linux_x86_64.whl 2>/dev/null || echo {"Failed to download Tensorflow"}&&
pip install tensorflow-1.12.0-cp37-cp37m-linux_x86_64.whl &&
pip install nltk &&
rm tensorflow-1.12.0-cp37-cp37m-linux_x86_64.whl
RUN git clone https://github.com/tensorflow/benchmarks -b cnn_tf_v1.11_compatible ||
{ error_exit "Failed to clone the repo with: $?"; }
CMD [ "/bin/bash" ] #############################################################
Content type
Image
Digest
Size
1.2 GB
Last updated
almost 8 years ago
docker pull rahulunair/clear-tf:vanilla