summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild/create_repo.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/build/create_repo.sh b/build/create_repo.sh
index ec9b239b..e70d69b2 100755
--- a/build/create_repo.sh
+++ b/build/create_repo.sh
@@ -155,14 +155,12 @@ then
mounted_lists+=(-v ${array_list}:${container_list_volume}${array_list##*/})
done
- docker run -d \
- --name $container_name \
+ docker run --name $container_name \
-v ${volume_offline_directory}:${container_offline_volume} \
-v ${volume_repo_directory}:${container_repo_volume} \
"${mounted_lists[@]}" \
--rm \
--entrypoint="${container_offline_volume}docker-entrypoint.sh" \
- -it ${docker_image} \
+ ${docker_image} \
"${param_array[@]}"
- docker logs $(docker ps --filter name="^${container_name}$" --format '{{.ID}}' -a) -f
fi