docker 打包调整

This commit is contained in:
shikong 2023-09-16 16:46:47 +08:00
parent 9ce6b703f8
commit 497e86ed70

View File

@ -9,7 +9,10 @@ if ! test -e ${curDir}/gb28181-mocking-starter/ffmpeg;then
tar -xvf ${curDir}/ffmpeg/ffmpeg-git-amd64-static.tar -C ${curDir}/ffmpeg/
mv ${curDir}/ffmpeg/ffmpeg-git*-static/* ${curDir}/ffmpeg
rm -rf ${curDir}/ffmpeg/ffmpeg-git*-static
mv ${curDir}/ffmpeg ${curDir}/gb28181-mocking-starter/ffmpeg
mkdir -p ${curDir}/gb28181-mocking-starter/ffmpeg
cp ${curDir}/ffmpeg/ffmpeg ${curDir}/gb28181-mocking-starter/ffmpeg
cp ${curDir}/ffmpeg/ffprobe ${curDir}/gb28181-mocking-starter/ffmpeg
cp -r ${curDir}/ffmpeg/model ${curDir}/gb28181-mocking-starter/ffmpeg
fi
docker run --name maven --rm \