We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
git clone https://github.com/yhy0/github-cve-monitor.git /opt/cve
保存为 start.sh
#!/bin/env sh set -ex if ! [ "$(cat /etc/timezone)" = "$TZ" ];then apt update -y ln -fs /usr/share/zoneinfo/${TZ} /etc/localtime echo ${TZ} > /etc/timezone apt install -y tzdata dpkg-reconfigure --frontend noninteractive tzdata apt install -y python3.9 python3-pip pip install -r /opt/cve/requirements.txt rm -rf /var/lib/apt/lists/* fi cd /opt/cve/ python3 /opt/cve/github_cve_monitor.py
路径需要稍微修改下
docker run -it --name cve \ -v /docker/cve:/opt/cve \ --restart=always \ -e TZ=Asia/Shanghai \ ubuntu /opt/cve/start.sh
The text was updated successfully, but these errors were encountered:
No branches or pull requests
初始化
Config
保存为 start.sh
Start
路径需要稍微修改下
The text was updated successfully, but these errors were encountered: