Skip to content

ziozzang/alpine_on_any_distro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

Add "Alpine's Package manager"(apk cli) on any Linux Distro.

You can get state-of-arts alpines packages to your linux, with almost zero-cost or effort.

Alpine's packages version is up-to-date, so you can get newer version of packaged binary.

Target platform

Tested on Any Docker based linux. (only tested for x86_64 based)

maybe works with not only docker images but also bare-metal.

tested docker images - Generic Linux distro.

  • Debian
  • Ubuntu
  • OpenSuse
  • RHEL7
    • registry.access.redhat.com/rhel7-atomic
    • registry.access.redhat.com/rhel7
  • CentOS

tested docker images - busybox based Linux distro.

  • Cirros

  • Issue: busybox docker image has issue with HTTPS fetch. so cannot be installed.

Install

Just run command.

curl -sL bit.ly/alpineapk | sh

if you want setup for Busybox based distro(like cirros), use command below

curl -sL bit.ly/alpinebusybox | sh

License

MIT License. use your own risk.

Limitation

  • Need curl command. (ubuntu and debian, opensuse minimal docker images has no curl. you have to install it.)
  • Basicllay generic linux distro use basic library as "GLIBC". but alpine use "MUSL". There's no binary compatability between libc level.
  • gcc compile is not compatable between Generic Linux Distro like (RHEL/CentOS/Debian/Ubuntu) and Alpine