I'm trying to install docker-registry. I got stuck after this:
$ apt-get install python-pip python-dev
$ pip install -r requirements.txt
[...]
backports/lzma/_lzmamodule.c:115:18: fatal error: lzma.h: No such file or directory
The docker-registry I downloaded is v0.6.7
$ apt-get install -y liblzma-dev
On Centos the package is
yum install -y xz-devel
For OSX with Homebrew.
brew install xz
The formula is xz
which because lzma
formula is deprecated, since it became a part of xz
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With