This repository was archived by the owner on Nov 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +18
-27
lines changed
Expand file tree Collapse file tree 5 files changed +18
-27
lines changed Original file line number Diff line number Diff line change 11COMPOSE_PROJECT_NAME = alpine-py3-tensorflow
2- VERSION = 1.0 .0
2+ VERSION = 1.1 .0
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ ## 1.1.0 (2019-08-25)
2+
3+ * TF upgraded to ` 1.13.2 `
4+ * Bump versions of dependences (` numpy ` , ` keras_* ` )
5+ * Based on ` alpine3.10 ` with ` python3.7.4 `
6+
7+ ## 1.0.0 (2019-05-03)
8+
9+ * TF version is ` 1.13.1 `
10+ * Based on ` alpine3.9 ` with ` python3.7.3 `
Original file line number Diff line number Diff line change 1- FROM python:3.7.3 -alpine3.9
1+ FROM python:3.7.4 -alpine3.10
22
3- ENV TENSORFLOW_VERSION=1.13.1 \
4- NUMPY_VERSION=1.16.1 \
3+ ENV TENSORFLOW_VERSION=1.13.2 \
4+ NUMPY_VERSION=1.17.0 \
55 JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk \
66 BAZEL_VERSION=0.19.2 \
77 LOCAL_RESOURCES=2048,1.0,1.0 \
@@ -24,7 +24,7 @@ RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/te
2424 bash wget file openblas-dev freetype-dev libjpeg-turbo-dev \
2525 libpng-dev hdf5-dev openjdk8 swig zip patch && \
2626 pip install --no-cache-dir "numpy==$NUMPY_VERSION" h5py && \
27- pip install --no-cache-dir --no-deps keras_applications==1.0.7 keras_preprocessing==1.0.9 && \
27+ pip install --no-cache-dir --no-deps keras_applications==1.0.8 keras_preprocessing==1.1.0 && \
2828 echo 'Downloading and compiling bazel' && \
2929 wget -q "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-dist.zip" \
3030 -O bazel.zip && \
Original file line number Diff line number Diff line change 1- ## Tensorflow for alpine and python3.7
1+ ## Tensorflow for alpine and python >= 3.6
22
3- ![ https://travis-ci.org/AfsmNGhr/alpine-py3-tensorflow ] ( https://travis-ci.org/AfsmNGhr/alpine-py3-tensorflow.svg?branch=master )
43![ https://microbadger.com/images/afsmnghr/alpine-py3-tensorflow ] ( https://images.microbadger.com/badges/version/afsmnghr/alpine-py3-tensorflow.svg )
54![ https://microbadger.com/images/afsmnghr/alpine-py3-tensorflow ] ( https://images.microbadger.com/badges/image/afsmnghr/alpine-py3-tensorflow.svg )
65![ https://hub.docker.com/r/afsmnghr/alpine-py3-tensorflow/ ] ( https://img.shields.io/docker/pulls/afsmnghr/alpine-py3-tensorflow.svg?style=flat-square )
76![ https://hub.docker.com/r/afsmnghr/alpine-py3-tensorflow/ ] ( https://img.shields.io/docker/stars/afsmnghr/alpine-py3-tensorflow.svg?style=flat-square )
87
9- It work on Alpine 3.9.3 and Tensorflow 1.13.1 .
8+ It work on Alpine 3.10 and Tensorflow 1.13.2 .
109Compile tensorflow with options:
1110
1211``` sh
@@ -28,7 +27,7 @@ TF_NEED_MPI=0
2827Use the pre-built binary wheel hosted on Github.
2928
3029``` sh
31- pip install https://github.com/AfsmNGhr/alpine-py3-tensorflow/releases/download/alpine3.9 -python3.7.3 -tensorflow1.13.1 /tensorflow-1.13.1 -cp37-cp37m-linux_x86_64.whl
30+ pip install https://github.com/AfsmNGhr/alpine-py3-tensorflow/releases/download/alpine3.10 -python3.7.4 -tensorflow1.13.2 /tensorflow-1.13.2 -cp37-cp37m-linux_x86_64.whl
3231```
3332
3433If you want to compile it yourself, use the Dockerfile. Note that it can take many hours.
You can’t perform that action at this time.
0 commit comments