Docker | TensorFlow
www.tensorflow.org › install › dockerJan 28, 2021 · Examples using CPU-only images. Let's verify the TensorFlow installation using the latest tagged image. Docker downloads a new TensorFlow image the first time it is run: docker run -it --rm tensorflow/tensorflow \ python -c "import tensorflow as tf; print(tf.reduce_sum(tf.random.normal([1000, 1000])))" Success: TensorFlow is now installed.
Reduce TensorFlow Lite binary size
www.tensorflow.org › lite › guideAug 13, 2021 · Selectively Build TensorFlow Lite with Docker. This section assumes that you have installed Docker on your local machine and downloaded the TensorFlow Lite Dockerfile here. After downloading the above Dockerfile, you can build the docker image by running: docker build . -t tflite-builder -f tflite-android.Dockerfile Build AAR files for Android ...
Docker Image Size - How to Keep It Small?
https://phoenixnap.com/kb/docker-image-size19.02.2020 · Avoid Adding Unnecessary Layers to Reduce Docker Image Size A Docker image takes up more space with every layer you add to it. Therefore, the more layers you have, the more space the image requires. Each RUN instruction in a Dockerfile adds a new layer to your image. That is why you should try to do file manipulation inside a single RUN command.