1 Star 0 Fork 54

飘雨/ddns

forked from fastjrun/ddns 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 805 Bytes
一键复制 编辑 原始数据 按行查看 历史
崔一凡 提交于 2021-08-28 23:41 . 新增Dockerfile
FROM openjdk:8-alpine
ADD target/ddns.jar /opt
ADD ddns.sh /opt
WORKDIR /opt
ENV ACCESS_KEY_ID "accessKeyId"
ENV ACCESS_KEY_SECRET "accessKeySecret"
ENV CONFIG_DOMAIN "fastjrun.com"
ENV RR "test"
ENV CRON "0 * * * * ?"
ENTRYPOINT sh /opt/ddns.sh $ACCESS_KEY_ID $ACCESS_KEY_SECRET $CONFIG_DOMAIN $RR "$CRON"
# arm64v8
# docker build . -t pi4k8s/ddns:2.0-arm64 && docker push pi4k8s/ddns:2.0-arm64
# x86
# docker build . -t pi4k8s/ddns:2.0-amd64 && docker push pi4k8s/ddns:2.0-amd64
# manifest
# docker manifest create pi4k8s/ddns:2.0 pi4k8s/ddns:2.0-arm64 pi4k8s/ddns:2.0-amd64
# docker manifest annotate pi4k8s/ddns:2.0 pi4k8s/ddns:2.0-amd64 --os linux --arch amd64
# docker manifest annotate pi4k8s/ddns:2.0 pi4k8s/ddns:2.0-arm64 --os linux --arch arm64
# docker manifest push pi4k8s/ddns:2.0
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/hudaoxing/ddns.git
[email protected]:hudaoxing/ddns.git
hudaoxing
ddns
ddns
master

搜索帮助