test/images: Update tf-wide-deep container image with Python 3.11 and TensorFlow 2.20.0

- Updated base image from python:3.6-slim-stretch to python:3.11-slim-bookworm
- Bumped version from 1.3 to 1.4
- Updated TensorFlow from 1.9.0 to 2.20.0 (latest stable)
- Updated TensorFlow models from v1.9.0 to v2.15.0

Signed-off-by: Humble Devassy Chirammal <humble.devassy@gmail.com>
This commit is contained in:
Humble Devassy Chirammal
2025-10-23 21:47:47 +05:30
parent ab34215bab
commit f8ca585b66
3 changed files with 9 additions and 16 deletions

View File

@@ -1 +1 @@
linux/amd64=python:3.6-slim-stretch
linux/amd64=python:3.11-slim-bookworm

View File

@@ -19,22 +19,15 @@ CROSS_BUILD_COPY qemu-QEMUARCH-static /usr/bin/
RUN apt-get update && apt-get install -y wget time
RUN case $(uname -m) in \
aarch64) \
pip install tensorflow-aarch64==1.2; \
;; \
*) \
pip install tensorflow==1.9.0; \
;; \
esac
RUN pip install tensorflow==2.20.0
RUN wget https://github.com/tensorflow/models/archive/v1.9.0.tar.gz \
&& tar xzf v1.9.0.tar.gz \
&& rm -f v1.9.0.tar.gz
RUN wget https://github.com/tensorflow/models/archive/v2.15.0.tar.gz \
&& tar xzf v2.15.0.tar.gz \
&& rm -f v2.15.0.tar.gz
RUN python /models-1.9.0/official/wide_deep/data_download.py
RUN python /models-2.15.0/official/wide_deep/data_download.py
WORKDIR $HOME/models-1.9.0/official/wide_deep
ENV PYTHONPATH=$PYTHONPATH:$HOME/models-1.9.0
WORKDIR $HOME/models-2.15.0/official/wide_deep
ENV PYTHONPATH=$PYTHONPATH:$HOME/models-2.15.0
ENTRYPOINT python ./wide_deep.py

View File

@@ -1 +1 @@
1.3
1.4