File tree Expand file tree Collapse file tree 4 files changed +13
-13
lines changed Expand file tree Collapse file tree 4 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ working, the following commands will compile and run the tests.
72
72
```
73
73
git clone --recursive https://github.com/tensorflow/haskell.git tensorflow-haskell
74
74
cd tensorflow-haskell
75
- docker build -t tensorflow/haskell:2.3.0 docker
75
+ docker build -t tensorflow/haskell:2.10.1 docker
76
76
# TODO: move the setup step to the docker script.
77
77
stack --docker setup
78
78
stack --docker test
@@ -90,7 +90,7 @@ stack --docker build --exec Main
90
90
If you want to use GPU you can do:
91
91
92
92
```
93
- IMAGE_NAME=tensorflow/haskell:2.3.0 -gpu
93
+ IMAGE_NAME=tensorflow/haskell:2.10.1 -gpu
94
94
docker build -t $IMAGE_NAME docker/gpu
95
95
# TODO: move the setup step to the docker script.
96
96
stack --docker --docker-image=$IMAGE_NAME setup
Original file line number Diff line number Diff line change 3
3
# stack to be installed on the host. This comes at the expense of
4
4
# flexibility.
5
5
6
- FROM tensorflow/tensorflow:2.3.0
6
+ FROM tensorflow/tensorflow:2.10.1
7
7
LABEL maintainer="TensorFlow authors <tensorflow-haskell@googlegroups.com>"
8
8
9
9
# The build context directory is the top of the tensorflow-haskell
36
36
curl -O -L https://github.com/google/protobuf/releases/download/v3.13.0/protoc-3.13.0-linux-x86_64.zip && \
37
37
unzip -d /usr/local protoc-3.13.0-linux-x86_64.zip bin/protoc && \
38
38
chmod 755 /usr/local/bin/protoc && \
39
- curl -O https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-2.3.0 .tar.gz && \
40
- tar zxf libtensorflow-cpu-linux-x86_64-2.3.0 .tar.gz -C /usr/local && \
39
+ curl -O https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-2.10.1 .tar.gz && \
40
+ tar zxf libtensorflow-cpu-linux-x86_64-2.10.1 .tar.gz -C /usr/local && \
41
41
ldconfig && \
42
42
stack setup && \
43
43
stack test --only-dependencies
Original file line number Diff line number Diff line change 1
1
# Prepare the image with:
2
- # docker build -t tensorflow/haskell:2.3.0 docker
3
- FROM tensorflow/tensorflow:2.3.0
2
+ # docker build -t tensorflow/haskell:2.10.1 docker
3
+ FROM tensorflow/tensorflow:2.10.1
4
4
LABEL maintainer="TensorFlow authors <tensorflow-haskell@googlegroups.com>"
5
5
6
6
RUN apt-get update
31
31
curl -O -L https://github.com/google/protobuf/releases/download/v3.13.0/protoc-3.13.0-linux-x86_64.zip && \
32
32
unzip -d /usr/local protoc-3.13.0-linux-x86_64.zip bin/protoc && \
33
33
chmod 755 /usr/local/bin/protoc && \
34
- curl -O https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-2.3.0 .tar.gz && \
35
- tar zxf libtensorflow-cpu-linux-x86_64-2.3.0 .tar.gz -C /usr/local && \
34
+ curl -O https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-2.10.1 .tar.gz && \
35
+ tar zxf libtensorflow-cpu-linux-x86_64-2.10.1 .tar.gz -C /usr/local && \
36
36
ldconfig
37
37
38
38
ENV LANG en_US.UTF-8
Original file line number Diff line number Diff line change 1
1
# Prepare the image with:
2
- # docker build -t tensorflow/haskell:2.3.0 -gpu docker/gpu
3
- FROM tensorflow/tensorflow:2.3.0 -gpu
2
+ # docker build -t tensorflow/haskell:2.10.1 -gpu docker/gpu
3
+ FROM tensorflow/tensorflow:2.10.1 -gpu
4
4
LABEL maintainer="TensorFlow authors <tensorflow-haskell@googlegroups.com>"
5
5
6
6
RUN apt-get update
31
31
curl -O -L https://github.com/google/protobuf/releases/download/v3.13.0/protoc-3.13.0-linux-x86_64.zip && \
32
32
unzip -d /usr/local protoc-3.13.0-linux-x86_64.zip bin/protoc && \
33
33
chmod 755 /usr/local/bin/protoc && \
34
- curl -O https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-gpu-linux-x86_64-2.3.0 .tar.gz && \
35
- tar zxf libtensorflow-gpu-linux-x86_64-2.3.0 .tar.gz -C /usr/local && \
34
+ curl -O https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-gpu-linux-x86_64-2.10.1 .tar.gz && \
35
+ tar zxf libtensorflow-gpu-linux-x86_64-2.10.1 .tar.gz -C /usr/local && \
36
36
ldconfig
37
37
38
38
ENV LANG en_US.UTF-8
You can’t perform that action at this time.
0 commit comments