From 497e86ed702823a1613f515a714667f650e523a5 Mon Sep 17 00:00:00 2001 From: shikong <919411476@qq.com> Date: Sat, 16 Sep 2023 16:46:47 +0800 Subject: [PATCH] =?UTF-8?q?docker=20=E6=89=93=E5=8C=85=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-docker.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 \