Commit 7b931f26 authored by Natanael Copa's avatar Natanael Copa

scripts/genrootfs.sh: exclude dev/*

exclude /dev/* from minirootfs.

https://github.com/gliderlabs/docker-alpine/issues/356
(cherry picked from commit 2f07f9eb)
parent 26346869
......@@ -54,6 +54,4 @@ http://dl-cdn.alpinelinux.org/alpine/$branch/main
http://dl-cdn.alpinelinux.org/alpine/$branch/community
EOF
#rm -rf "$tmp"/var/cache/apk/*
tar --numeric-owner -c -C "$tmp" . | gzip -9n > "$outfile"
tar --numeric-owner --exclude='dev/*' -c -C "$tmp" . | gzip -9n > "$outfile"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment