mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-29 17:22:56 +08:00
improve build.sh
This commit is contained in:
parent
f86ddc3d12
commit
8b71911be4
@ -1,5 +1,14 @@
|
||||
#!/bin/bash
|
||||
DOCKER_NAME=pikadev
|
||||
|
||||
docker rmi $DOCKER_NAME
|
||||
|
||||
docker build -t $DOCKER_NAME .
|
||||
if [ $# == 0 ]
|
||||
then
|
||||
docker build -t $DOCKER_NAME .
|
||||
fi
|
||||
|
||||
if [ $# == 1 ]
|
||||
then
|
||||
docker build $1 -t $DOCKER_NAME .
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user