forked from dusty-nv/jetson-containers
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
23 lines (20 loc) · 690 Bytes
/
Dockerfile
File metadata and controls
23 lines (20 loc) · 690 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#---
# name: tensorflow
# group: ml
# depends: [cuda, cudnn, tensorrt, python, numpy, h5py, bazel, protobuf:cpp]
# test: test.py
# docs: |
# Container for TF1/TF2 with CUDA support.
# Note that the [`l4t-tensorflow`](/packages/l4t/l4t-tensorflow) containers are similar, with the addition of OpenCV and PyCUDA.
#
# The TensorFlow wheels used in these are from https://docs.nvidia.com/deeplearning/frameworks/install-tf-jetson-platform
#---
ARG BASE_IMAGE
FROM ${BASE_IMAGE}
ARG TENSORFLOW_URL \
TENSORFLOW_WHL \
HDF5_DIR="/usr/lib/aarch64-linux-gnu/hdf5/serial/" \
MAKEFLAGS=-j$(nproc) \
FORCE_BUILD
COPY install.sh /tmp/tensorflow/
RUN /tmp/tensorflow/install.sh