apt-get update
apt-get install git
git clone https://github.com/tindy2013/subconverter.git
sed -i 's/j4/j1/g' /root/src/subconverter/scripts/build.alpine.release.sh
sed -i 's/j2/j1/g' /root/src/subconverter/scripts/build.alpine.release.sh
docker pull multiarch/alpine:amd64-latest-stable
docker run -v /root/src/subconverter:/root/workdir
multiarch/alpine:amd64-latest-stable
/bin/sh -c "apk add bash git nodejs npm
&& cd /root/workdir
&& chmod +x scripts/build.alpine.release.sh
&& bash scripts/build.alpine.release.sh"
没有评论:
发表评论