mirror of
https://github.com/clearlinux/dockerfiles.git
synced 2026-06-28 16:46:35 +00:00
add tensorflow container
Signed-off-by: Liu, Jianjun <jianjun.liu@intel.com>
This commit is contained in:
committed by
George T Kramer
parent
8848dd8b0d
commit
ecfc93889f
@@ -25,6 +25,7 @@ env:
|
||||
- DOCKERFILE_DIR=python
|
||||
- DOCKERFILE_DIR=redis
|
||||
- DOCKERFILE_DIR=ruby
|
||||
- DOCKERFILE_DIR=tensorflow
|
||||
|
||||
script:
|
||||
- cd $DOCKERFILE_DIR
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
FROM clearlinux:latest
|
||||
MAINTAINER jianjun.liu@intel.com
|
||||
|
||||
ARG swupd_args
|
||||
|
||||
RUN swupd update --no-boot-update $swupd_args
|
||||
RUN swupd bundle-add machine-learning-tensorflow $swupd_args \
|
||||
&& rm -rf /var/lib/swupd/*
|
||||
@@ -0,0 +1,33 @@
|
||||
tensorflow
|
||||
==========
|
||||
This provides a Clear Linux* tensorflow instance.
|
||||
|
||||
Build
|
||||
-----
|
||||
```
|
||||
docker build -t clearlinux/tensorflow .
|
||||
```
|
||||
|
||||
Or just pull it from Dockerhub
|
||||
---------------------------
|
||||
```
|
||||
docker pull clearlinux/tensorflow
|
||||
```
|
||||
|
||||
Test go version
|
||||
-----------------------
|
||||
```
|
||||
docker run -it --rm clearlinux/tensorflow bash
|
||||
```
|
||||
|
||||
|
||||
Details of how-to
|
||||
---------------------
|
||||
Please refer to the docker official tensorflow image [page](https://hub.docker.com/r/tensorflow/tensorflow).
|
||||
|
||||
|
||||
Extra Build ARGs
|
||||
----------------
|
||||
- ``swupd_args`` Specifies [SWUPD](https://github.com/clearlinux/swupd-client/blob/master/docs/swupd.1.rst#options) flags
|
||||
|
||||
Default build args in Docker are on: https://docs.docker.com/engine/reference/builder/#arg
|
||||
Reference in New Issue
Block a user