1 Star 0 Fork 2

jf12458/tiantang-x86-docker

forked from boris1993/tiantang-x86-docker
关闭
 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 1.10 KB
一键复制 编辑 原始数据 按行查看 历史
boris1993 提交于 2021-12-15 23:42 . Enhanced logging and updated README
FROM ubuntu:bionic
ENV TZ=Asia/Shanghai
ENV DEBIAN_FRONTEND=noninteractive
RUN apt update && apt upgrade -y \
&& apt install -y tzdata cron iproute2 iputils-ping net-tools qrencode \
&& echo "dash dash/sh boolean false" | debconf-set-selections && dpkg-reconfigure dash \
&& mkdir /data \
&& touch /var/log/app.log
ADD resources/ttnode /usr/local/bin
ADD resources/yfapp.conf /usr/local/bin
ADD resources/set-variables.sh /usr/local/bin
ADD resources/redirect-yfnode-log.sh /usr/local/bin
ADD resources/start.sh /usr/local/bin
ADD resources/init.sh /usr/local/bin
ADD resources/liveness-check.sh /usr/local/bin
ADD resources/print-qrcode.sh /usr/local/bin
ADD resources/cronjob /etc/cron.d/liveness-check
RUN chmod 755 /usr/local/bin/ttnode \
&& chmod 755 /usr/local/bin/yfapp.conf \
&& chmod 755 /usr/local/bin/redirect-yfnode-log.sh \
&& chmod 755 /usr/local/bin/start.sh \
&& chmod 755 /usr/local/bin/init.sh \
&& chmod 755 /usr/local/bin/liveness-check.sh \
&& chmod 755 /etc/cron.d/liveness-check \
&& crontab /etc/cron.d/liveness-check
CMD source /usr/local/bin/set-variables.sh && start.sh
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Shell
1
https://gitee.com/jf12458_admin_admin/tiantang-x86-docker.git
git@gitee.com:jf12458_admin_admin/tiantang-x86-docker.git
jf12458_admin_admin
tiantang-x86-docker
tiantang-x86-docker
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385