Skip to content

Instantly share code, notes, and snippets.

@michaelneale
Created May 30, 2014 00:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michaelneale/914e179927cc0a7bfa1f to your computer and use it in GitHub Desktop.
Save michaelneale/914e179927cc0a7bfa1f to your computer and use it in GitHub Desktop.
some shell
install -m 755 arch-bootstrap.sh /usr/local/bin/arch-bootstrap
arch-bootstrap boot1
tar -C boot1 -c . | docker import - archboot
@michaelneale
Copy link
Author

I also used a pacman.conf:

[options]
HoldPkg = pacman glibc
Architecture = auto
SigLevel = Never TrustAll
Architecture = auto

[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

which I put in ./boot1/etc/pacman.conf, before importing into docker. YMMV.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment