diff --git a/package-docker.sh b/package-docker.sh index 8efe325..c731fa6 100644 --- a/package-docker.sh +++ b/package-docker.sh @@ -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 \