-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0119359
commit bcfdd0a
Showing
2 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
*.zip | ||
*.tar.gz | ||
ten_manager |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
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 \ | ||
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 tman | ||
RUN wget --no-check-certificate --progress=dot:mega https://github.com/TEN-framework/ten_framework/releases/download/0.3.0-alpha/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 --depth 1 https://github.com/TEN-framework/ten_gn.git /usr/local/ten_gn | ||
|
||
ENV PATH=/usr/local/go/bin:/usr/local/ten_gn:$PATH |