Skip to content

Commit 3ced6c3

Browse files
author
Bart Schuurmans
committed
Update Dockerfiles to 2.10.1
1 parent 27e37e5 commit 3ced6c3

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ working, the following commands will compile and run the tests.
7272
```
7373
git clone --recursive https://github.com/tensorflow/haskell.git tensorflow-haskell
7474
cd tensorflow-haskell
75-
docker build -t tensorflow/haskell:2.3.0 docker
75+
docker build -t tensorflow/haskell:2.10.1 docker
7676
# TODO: move the setup step to the docker script.
7777
stack --docker setup
7878
stack --docker test
@@ -90,7 +90,7 @@ stack --docker build --exec Main
9090
If you want to use GPU you can do:
9191

9292
```
93-
IMAGE_NAME=tensorflow/haskell:2.3.0-gpu
93+
IMAGE_NAME=tensorflow/haskell:2.10.1-gpu
9494
docker build -t $IMAGE_NAME docker/gpu
9595
# TODO: move the setup step to the docker script.
9696
stack --docker --docker-image=$IMAGE_NAME setup

ci_build/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# stack to be installed on the host. This comes at the expense of
44
# flexibility.
55

6-
FROM tensorflow/tensorflow:2.3.0
6+
FROM tensorflow/tensorflow:2.10.1
77
LABEL maintainer="TensorFlow authors <tensorflow-haskell@googlegroups.com>"
88

99
# The build context directory is the top of the tensorflow-haskell
@@ -36,8 +36,8 @@ RUN \
3636
curl -O -L https://github.com/google/protobuf/releases/download/v3.13.0/protoc-3.13.0-linux-x86_64.zip && \
3737
unzip -d /usr/local protoc-3.13.0-linux-x86_64.zip bin/protoc && \
3838
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 && \
4141
ldconfig && \
4242
stack setup && \
4343
stack test --only-dependencies

docker/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 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
44
LABEL maintainer="TensorFlow authors <tensorflow-haskell@googlegroups.com>"
55

66
RUN apt-get update
@@ -31,8 +31,8 @@ RUN \
3131
curl -O -L https://github.com/google/protobuf/releases/download/v3.13.0/protoc-3.13.0-linux-x86_64.zip && \
3232
unzip -d /usr/local protoc-3.13.0-linux-x86_64.zip bin/protoc && \
3333
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 && \
3636
ldconfig
3737

3838
ENV LANG en_US.UTF-8

docker/gpu/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 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
44
LABEL maintainer="TensorFlow authors <tensorflow-haskell@googlegroups.com>"
55

66
RUN apt-get update
@@ -31,8 +31,8 @@ RUN \
3131
curl -O -L https://github.com/google/protobuf/releases/download/v3.13.0/protoc-3.13.0-linux-x86_64.zip && \
3232
unzip -d /usr/local protoc-3.13.0-linux-x86_64.zip bin/protoc && \
3333
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 && \
3636
ldconfig
3737

3838
ENV LANG en_US.UTF-8

0 commit comments

Comments
 (0)