Spaces:
Sleeping
Sleeping
Commit
·
0409508
1
Parent(s):
58e25cb
feat: use prebuilt ten_agent_build
Browse files- Dockerfile +1 -64
Dockerfile
CHANGED
@@ -1,67 +1,4 @@
|
|
1 |
-
|
2 |
-
FROM nvidia/cuda:12.4.1-devel-ubuntu22.04
|
3 |
-
|
4 |
-
##### ten_agent_build, embeded from https://github.com/TEN-framework/ten_agent_build/blob/main/Dockerfile #####
|
5 |
-
RUN apt-get clean && apt-get update && apt-get install -y --no-install-recommends \
|
6 |
-
wget \
|
7 |
-
curl \
|
8 |
-
vim \
|
9 |
-
git \
|
10 |
-
libssl-dev \
|
11 |
-
libcrypto++-dev \
|
12 |
-
zlib1g-dev \
|
13 |
-
openssl \
|
14 |
-
make \
|
15 |
-
jq \
|
16 |
-
zip unzip \
|
17 |
-
tree \
|
18 |
-
apt-utils software-properties-common \
|
19 |
-
ssh \
|
20 |
-
libasound2 \
|
21 |
-
libgstreamer1.0-dev \
|
22 |
-
libsamplerate-dev \
|
23 |
-
libunwind-dev \
|
24 |
-
gcc \
|
25 |
-
g++ \
|
26 |
-
libc++1 \
|
27 |
-
gdb \
|
28 |
-
gpg-agent \
|
29 |
-
ca-certificates \
|
30 |
-
python3 python3-venv python3-pip python3-dev && \
|
31 |
-
apt-get clean && rm -rf /var/lib/apt/lists/* && rm -rf /tmp/*
|
32 |
-
|
33 |
-
RUN pip3 install debugpy pytest pytest-cov pytest-mock cython pylint pylint-exit black
|
34 |
-
|
35 |
-
# install golang
|
36 |
-
RUN wget --no-check-certificate --progress=dot:mega https://go.dev/dl/go1.22.3.linux-amd64.tar.gz && \
|
37 |
-
rm -rf /usr/local/go && \
|
38 |
-
tar -C /usr/local -xvf go1.22.3.linux-amd64.tar.gz && \
|
39 |
-
rm go1.22.3.linux-amd64.tar.gz
|
40 |
-
|
41 |
-
# install uv
|
42 |
-
RUN curl -LsSf https://astral.sh/uv/install.sh | env UV_INSTALL_DIR="/usr/local/bin" sh
|
43 |
-
|
44 |
-
# install task
|
45 |
-
RUN sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b /usr/local/bin
|
46 |
-
|
47 |
-
# install oss util
|
48 |
-
RUN curl https://gosspublic.alicdn.com/ossutil/install.sh | bash
|
49 |
-
|
50 |
-
# install tman
|
51 |
-
RUN wget --no-check-certificate --progress=dot:mega https://github.com/TEN-framework/ten_framework/releases/download/0.8.18/tman-linux-clang-release-x64.zip && \
|
52 |
-
unzip tman-linux-clang-release-x64.zip && \
|
53 |
-
mv ten_manager/bin/tman /usr/local/bin/ && \
|
54 |
-
rm -rf tman-*.zip ten_manager
|
55 |
-
|
56 |
-
# install ten_gn
|
57 |
-
RUN git clone https://github.com/TEN-framework/ten_gn.git /usr/local/ten_gn && \
|
58 |
-
cd /usr/local/ten_gn && \
|
59 |
-
git checkout 0.1.1
|
60 |
-
|
61 |
-
ENV PATH=/usr/local/go/bin:/usr/local/ten_gn:$PATH
|
62 |
-
|
63 |
-
##### ten_agent_build, embeded from https://github.com/TEN-framework/ten_agent_build/blob/main/Dockerfile #####
|
64 |
-
|
65 |
|
66 |
# install huggingface tools
|
67 |
RUN pip install -U "huggingface_hub[cli]" hf_transfer
|
|
|
1 |
+
FROM ghcr.io/ten-framework/ten_agent_build:0.4.17-4-gf3ea9db-cuda
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# install huggingface tools
|
4 |
RUN pip install -U "huggingface_hub[cli]" hf_transfer
|