2020-06-26 15:51:13 +02:00
|
|
|
#! /bin/bash
|
|
|
|
|
2021-03-24 20:27:43 +01:00
|
|
|
if [ ! -d "download" ]; then
|
|
|
|
mkdir download
|
|
|
|
cd download || (echo "Unable to change directory" && exit 1)
|
2020-06-26 15:51:13 +02:00
|
|
|
|
2021-03-24 20:27:43 +01:00
|
|
|
wget https://github.com/lxsang/ant-http/raw/master/dist/antd-1.0.6b.tar.gz
|
|
|
|
tar xvzf antd-1.0.6b.tar.gz
|
|
|
|
rm antd-1.0.6b.tar.gz
|
2020-06-26 15:51:13 +02:00
|
|
|
|
2021-03-24 20:27:43 +01:00
|
|
|
wget https://github.com/lxsang/antd-lua-plugin/raw/master/dist/lua-0.5.2b.tar.gz
|
|
|
|
tar xvzf lua-0.5.2b.tar.gz
|
|
|
|
rm lua-0.5.2b.tar.gz
|
2020-06-26 15:51:13 +02:00
|
|
|
|
2021-03-24 20:27:43 +01:00
|
|
|
wget https://github.com/lxsang/antd-wterm-plugin/raw/master/dist/wterm-1.0.0b.tar.gz
|
|
|
|
tar xvzf wterm-1.0.0b.tar.gz
|
|
|
|
rm wterm-1.0.0b.tar.gz
|
2020-08-09 13:37:17 +02:00
|
|
|
|
2021-03-24 20:27:43 +01:00
|
|
|
wget https://github.com/lxsang/antd-tunnel-plugin/raw/master/dist/tunnel-0.1.0b.tar.gz
|
|
|
|
tar xvzf tunnel-0.1.0b.tar.gz
|
|
|
|
rm tunnel-0.1.0b.tar.gz
|
2020-08-09 13:37:17 +02:00
|
|
|
|
2021-03-24 20:27:43 +01:00
|
|
|
wget https://github.com/lxsang/antd-tunnel-publishers/raw/master/dist/antd-publishers-0.1.0a.tar.gz
|
|
|
|
tar xvzf antd-publishers-0.1.0a.tar.gz
|
|
|
|
rm antd-publishers-0.1.0a.tar.gz
|
2020-06-26 15:51:13 +02:00
|
|
|
|
2021-03-24 20:27:43 +01:00
|
|
|
git clone --depth 1 https://github.com/lxsang/antd-web-apps
|
|
|
|
git clone https://github.com/lxsang/antos
|
|
|
|
cd antos && git checkout next-1.2.0 && cd ..
|
|
|
|
cd ../
|
2020-06-26 15:51:13 +02:00
|
|
|
|
2021-03-24 20:27:43 +01:00
|
|
|
fi
|
2020-06-26 15:51:13 +02:00
|
|
|
|
2020-06-26 18:34:14 +02:00
|
|
|
docker build -t antosaio .
|
2020-06-26 15:51:13 +02:00
|
|
|
|
|
|
|
mkdir -p dist
|
2020-06-26 18:34:14 +02:00
|
|
|
docker save antosaio > dist/antosaio.tar
|
2020-10-06 17:39:59 +02:00
|
|
|
# sudo docker run -p 8080:80 -it antosaoi /bin/sh
|