From 26b16df4e47645d909e75e2fb213206eb8e8b7ae Mon Sep 17 00:00:00 2001 From: Zeno Zeng Date: Sat, 24 Sep 2016 10:46:22 +0800 Subject: [PATCH] rootfs --- .gitignore | 1 + Dockerfile | 2 +- rootfs.sh | 6 ++++++ rootfs.tar.gz | Bin 0 -> 131 bytes 4 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .gitignore create mode 100755 rootfs.sh create mode 100644 rootfs.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a62ab22 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +rootfs \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 237cbce..ac6b5c3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM scratch -RUN mkdir -p /tmp +ADD rootfs.tar.gz / COPY lib/ld-2.24.so /lib64/ld-linux-x86-64.so.2 COPY lib/libc.so.6 /usr/lib/libc.so.6 diff --git a/rootfs.sh b/rootfs.sh new file mode 100755 index 0000000..018634d --- /dev/null +++ b/rootfs.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +mkdir -p rootfs/tmp +cd rootfs +tar -cvzf ../rootfs.tar.gz . +cd .. diff --git a/rootfs.tar.gz b/rootfs.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..294eb337be4dedc9324e37e4ee0cee145065dae3 GIT binary patch literal 131 zcmb2|=3uz~;%PVo^V>^?T+IPI$3DtDoqJ&Vk6F)bWRH02u8pnwb<45f;-!bYhyJrG zIvcUy+#?$+1a)*rdWp?zH_%H?c~{-izsGL_apuc=<5@;-0Qv{&E1)t&WU gb@Fq;`ajJ7pWhez#Lj>O8j|Iso*&xFpuxZZ00g8yF8}}l literal 0 HcmV?d00001