1 Star 0 Fork 59

dracoding / process1

forked from openEuler / sysmaster 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 245 Bytes
一键复制 编辑 原始数据 按行查看 历史
hexiaowen 提交于 2021-11-11 10:39 . fake pid1 with environment
FROM scratch
#当使用systemd来验证时,需要删除注释
#RUN rm -f /sbin/init
COPY target/x86_64-unknown-linux-musl/debug/init /sbin/init
COPY target/x86_64-unknown-linux-musl/debug/process1 /usr/lib/process1/process1
CMD ["/sbin/init"]
1
https://gitee.com/dracoding/process1.git
git@gitee.com:dracoding/process1.git
dracoding
process1
process1
master

搜索帮助