-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
52 lines (45 loc) · 1.48 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
FROM ubuntu:22.04
RUN apt-get clean && apt-get update && apt-get install -y --no-install-recommends \
wget \
curl \
vim \
git \
libssl-dev \
libcrypto++-dev \
zlib1g-dev \
openssl \
make \
jq \
zip unzip \
apt-utils software-properties-common \
ssh \
libasound2 \
libgstreamer1.0-dev \
libsamplerate-dev \
libunwind-dev \
gcc \
g++ \
libc++1 \
gdb \
gpg-agent \
ca-certificates \
python3 python3-venv python3-pip python3-dev && \
apt-get clean && rm -rf /var/lib/apt/lists/* && rm -rf /tmp/*
RUN pip3 install debugpy
# install golang
RUN wget --no-check-certificate --progress=dot:mega https://go.dev/dl/go1.22.3.linux-amd64.tar.gz && \
rm -rf /usr/local/go && \
tar -C /usr/local -xvf go1.22.3.linux-amd64.tar.gz && \
rm go1.22.3.linux-amd64.tar.gz
# install task
RUN sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b /usr/local/bin
# install tman
RUN wget --no-check-certificate --progress=dot:mega https://github.com/TEN-framework/ten_framework/releases/download/0.4.1/tman-linux-x64-clang-release.zip && \
unzip tman-linux-x64-clang-release.zip && \
mv ten_manager/bin/tman /usr/local/bin/ && \
rm -rf tman-*.zip ten_manager
# install ten_gn
RUN git clone https://github.com/TEN-framework/ten_gn.git /usr/local/ten_gn && \
cd /usr/local/ten_gn && \
git checkout 71d90771902cdb1f7c368b52933202e3894d8684
ENV PATH=/usr/local/go/bin:/usr/local/ten_gn:$PATH