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