-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
65 lines (59 loc) · 1.09 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
FROM registry.fedoraproject.org/fedora-minimal:38
RUN microdnf install -y \
autoconf \
automake \
bc \
binutils \
binutils-devel \
bison \
bzip2 \
curl \
diffutils \
elfutils-libelf-devel \
file \
findutils \
flex \
freetype \
freetype-devel \
g++ \
gcc \
gdb \
git-core \
glibc-devel \
glibc-devel.i686 \
hdf5-devel \
hostname \
jq \
libtool \
make \
musl-libc \
ncurses-compat-libs \
openssh-clients \
openssl \
openssl-devel \
patch \
patchelf \
patchutils \
perf \
perl \
pkgconf \
pkgconf-m4 \
pkgconf-pkg-config \
procps-ng \
python3 \
python3-pip \
python3-devel \
rsync \
ninja-build \
strace \
tar \
texinfo \
uboot-tools \
xz \
zlib-devel
RUN curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > /usr/bin/repo && chmod +x /usr/bin/repo
RUN pip install tf-nightly-cpu
ENV TENSORFLOW_INSTALL=/usr/local/lib64/python3.11/site-packages/tensorflow
WORKDIR /build
COPY . .
CMD [ "bash" ]