Skip to content

Instantly share code, notes, and snippets.

@ncopa
Created November 11, 2014 12:34
Show Gist options
  • Save ncopa/a4b2de8de829de227080 to your computer and use it in GitHub Desktop.
Save ncopa/a4b2de8de829de227080 to your computer and use it in GitHub Desktop.
ncopa-desktop:~/Projects/alpine-conf$ mkdir -p /tmp/test-root
ncopa-desktop:~/Projects/alpine-conf$ apk add --root /tmp/test-root --initdb
OK: 0 MiB in 0 packages
ncopa-desktop:~/Projects/alpine-conf$ find /tmp/test-root/
/tmp/test-root/
/tmp/test-root/var
/tmp/test-root/var/lock
/tmp/test-root/var/lock/apkdb
/tmp/test-root/var/cache
/tmp/test-root/var/cache/misc
/tmp/test-root/var/cache/apk
/tmp/test-root/tmp
/tmp/test-root/etc
/tmp/test-root/etc/apk
/tmp/test-root/etc/apk/arch
/tmp/test-root/etc/apk/world
/tmp/test-root/dev
/tmp/test-root/lib
/tmp/test-root/lib/apk
/tmp/test-root/lib/apk/db
/tmp/test-root/lib/apk/db/installed
/tmp/test-root/lib/apk/db/scripts.tar
/tmp/test-root/lib/apk/db/triggers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment