Skip to content

Commit

Permalink
rootfs
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeno Zeng committed Sep 24, 2016
1 parent 5b028fd commit 26b16df
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rootfs
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 6 additions & 0 deletions rootfs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

mkdir -p rootfs/tmp
cd rootfs
tar -cvzf ../rootfs.tar.gz .
cd ..
Binary file added rootfs.tar.gz
Binary file not shown.

0 comments on commit 26b16df

Please sign in to comment.