Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

Commit acaed4c

Browse files
committed
tensorflow: Add Mobilnet Tensorflow Dockerfile
This PR adds the Mobilnet Tensorflow Dockerfile for kata containers metrics. Fixes #5683 Signed-off-by: Gabriela Cervantes <[email protected]>
1 parent 1188a01 commit acaed4c

File tree

1 file changed

+22
-0
lines changed
  • metrics/machine_learning/tensorflow_ai_dockerfile

1 file changed

+22
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Copyright (c) 2023 Intel Corporation
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
5+
# Usage: FROM [image name]
6+
FROM ubuntu:20.04
7+
8+
ENV DEBIAN_FRONTEND=noninteractive
9+
10+
# Version of the Dockerfile
11+
LABEL DOCKERFILE_VERSION="1.0"
12+
13+
RUN apt-get update && \
14+
apt-get install -y --no-install-recommends wget nano curl build-essential git && \
15+
apt-get remove -y unattended-upgrades && \
16+
apt-get install -y python3.8 python3-pip && \
17+
pip install --no-cache-dir intel-tensorflow-avx512==2.8.0 && \
18+
pip install --no-cache-dir protobuf==3.20.* && \
19+
wget -q https://storage.googleapis.com/intel-optimized-tensorflow/models/v1_8/mobilenet_v1_1.0_224_frozen.pb && \
20+
git clone https://github.com/IntelAI/models.git
21+
22+
CMD ["/bin/bash"]

0 commit comments

Comments
 (0)