File tree Expand file tree Collapse file tree 4 files changed +0
-44
lines changed Expand file tree Collapse file tree 4 files changed +0
-44
lines changed Original file line number Diff line number Diff line change @@ -49,12 +49,6 @@ while [ $# -gt 0 ]; do
4949 shift $(( $# > 0 ? 1 : 0 ))
5050done
5151
52- case " $MIRROR " in
53- china | openatom)
54- CONTAINER_BASE_IMAGE=" docker.io/library/alpine:3.18"
55- ;;
56- esac
57-
5852mkdir -p var/build-export-container/
5953cd ${__PROJECT__} /var/build-export-container/
6054
Original file line number Diff line number Diff line change @@ -21,20 +21,5 @@ cd ${__DIR__}
2121
2222IMAGE=alpine:3.18
2323
24- MIRROR=' '
25- while [ $# -gt 0 ]; do
26- case " $1 " in
27- --mirror)
28- MIRROR=" $2 "
29- case " $MIRROR " in
30- china | openatom)
31- IMAGE=" docker.io/library/alpine:3.18"
32- ;;
33- esac
34- ;;
35- esac
36- shift $(( $# > 0 ? 1 : 0 ))
37- done
38-
3924cd ${__DIR__}
4025docker run --rm --name swoole-cli-alpine-dev -d -v ${__PROJECT__} :/work -w /work --init $IMAGE tail -f /dev/null
Original file line number Diff line number Diff line change @@ -21,20 +21,5 @@ cd ${__DIR__}
2121
2222IMAGE=debian:12
2323
24- MIRROR=' '
25- while [ $# -gt 0 ]; do
26- case " $1 " in
27- --mirror)
28- MIRROR=" $2 "
29- case " $MIRROR " in
30- china | openatom)
31- IMAGE=" docker.io/library/debian:12"
32- ;;
33- esac
34- ;;
35- esac
36- shift $(( $# > 0 ? 1 : 0 ))
37- done
38-
3924cd ${__DIR__}
4025docker run --rm --name swoole-cli-debian-dev -d -v ${__PROJECT__} :/work -w /work --init $IMAGE tail -f /dev/null
Original file line number Diff line number Diff line change 511511if [ "$1" = "docker-build" ] ;then
512512 MIRROR=""
513513 CONTAINER_BASE_IMAGE='docker.io/library/alpine:3.18'
514- if [ -n "$2" ]; then
515- MIRROR=$2
516- case "$MIRROR" in
517- china | openatom)
518- CONTAINER_BASE_IMAGE="docker.io/library/alpine:3.18"
519- ;;
520- esac
521- fi
522514 PLATFORM=''
523515 ARCH=$(uname -m)
524516 case $ARCH in
You can’t perform that action at this time.
0 commit comments