mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-18 13:57:38 +00:00
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:
@@ -1 +1 @@
|
||||
linux/amd64=python:3.6-slim-stretch
|
||||
linux/amd64=python:3.11-slim-bookworm
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1 +1 @@
|
||||
1.3
|
||||
1.4
|
||||
|
||||
Reference in New Issue
Block a user