Delete the complied taskqueue file. Otherwise, the code will be updated and the taskqueue file will not be recomplied. Uses old code all the time.
Signed-off-by: Wu Zhende wuzhende666@163.com --- container/taskqueue/build | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/container/taskqueue/build b/container/taskqueue/build index 4f69f85..518a27e 100755 --- a/container/taskqueue/build +++ b/container/taskqueue/build @@ -12,10 +12,8 @@ service_port=${TASKQUEUE_PORT:-3060}
docker_skip_rebuild "taskqueue-alpine:v0.001-${service_port}"
-if [[ ! -f "taskqueue" ]]; then - $CCI_SRC/container/compile . -else - echo -e "\n\033[34m- Info: using \033[31mexists\033[34m taskqueue -\033[0m\n" -fi +$CCI_SRC/container/compile .
docker build -t taskqueue-alpine:v0.001-${service_port} . + +rm taskqueue