|
|
|
@ -110,8 +110,14 @@ RUN apt update && apt upgrade -y && \
|
|
|
|
|
asdf plugin add golang && \
|
|
|
|
|
asdf install golang latest && \
|
|
|
|
|
asdf global golang $(asdf latest golang) && \
|
|
|
|
|
go get -u github.com/zhaojh329/rttys && \
|
|
|
|
|
cp ~/.asdf/installs/golang/$(asdf latest golang)/packages/bin/rttys /usr/local/bin/ && \
|
|
|
|
|
curl -fsSL https://deb.nodesource.com/setup_current.x | bash - && \
|
|
|
|
|
apt install -y nodejs && \
|
|
|
|
|
cd /opt/rtty_build/rttys/frontend && \
|
|
|
|
|
npm install && \
|
|
|
|
|
npm run build && \
|
|
|
|
|
cd /opt/rtty_build/rttys && \
|
|
|
|
|
./build.sh linux ${ARCH} && \
|
|
|
|
|
cp rttys-linux*/rttys /usr/local/bin/rttys && \
|
|
|
|
|
cd /opt && \
|
|
|
|
|
echo "**** dashboard related ****" && \
|
|
|
|
|
apt install -y lighttpd && \
|
|
|
|
@ -122,7 +128,7 @@ RUN apt update && apt upgrade -y && \
|
|
|
|
|
echo "**** rclone ****" && \
|
|
|
|
|
curl https://rclone.org/install.sh | bash && \
|
|
|
|
|
echo "**** filebrowser ****" && \
|
|
|
|
|
curl -fsSL https://filebrowser.org/get.sh | bash && \
|
|
|
|
|
curl -fsSL https://raw.githubusercontent.com/filebrowser/get/master/get.sh | bash && \
|
|
|
|
|
echo "**** ansible ****" && \
|
|
|
|
|
apt install -y python3-apt sshpass ansible ansible-lint ansible-doc && \
|
|
|
|
|
echo "**** misc ****" && \
|
|
|
|
|