7 Star 11 Fork 1

binave / tiny4containerd

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 467 Bytes
一键复制 编辑 原始数据 按行查看 历史
binave 提交于 2018-02-18 16:58 . add readme
FROM debian:stretch-slim
# comment to skip create iso
ENV OUTPUT_PATH /tiny4containerd.iso
ENV TMP /tmp
# ENV TIMEOUT_SEC 600
# ENV TIMELAG_SEC 5
# ENV KERNEL_MAJOR_VERSION 4.4
# command same as 'docker cp'
COPY src $TMP/src
# command run in container, can not access local path.
RUN bash $TMP/src/build.sh; \
cat $TMP/iso/version >/dev/null 2>&1
# print tiny4containerd.is to stdout
CMD ["sh", "-c", "[ -t 1 ] && exec bash || exec cat tiny4containerd.iso"]
Shell
1
https://gitee.com/binave/tiny4containerd.git
git@gitee.com:binave/tiny4containerd.git
binave
tiny4containerd
tiny4containerd
master

搜索帮助