build.sh 294 B

1234567891011
  1. #!/bin/bash
  2. set -e
  3. wget https://nginx.org/download/nginx-1.18.0.tar.gz
  4. wget https://github.com/winshining/nginx-http-flv-module/archive/refs/tags/v1.2.12.tar.gz
  5. tag=`date +'%Y%m%d'`
  6. image="registry.cn-chengdu.aliyuncs.com/reghao/ngxflv:${tag}"
  7. docker build -t ${image} .
  8. docker push ${image}