larsks / dockerize

A tool for creating minimal docker images from dynamic ELF binaries.
GNU General Public License v3.0
355 stars 41 forks source link

Install instructions? #2

Closed viranch closed 8 years ago

viranch commented 9 years ago

It'd be nice to have instructions in the README for installing dockerize.

EDIT: Preferably, without having to clone the git repository.

brbsix commented 9 years ago

Assuming you have pip installed (and you certainly should if you do any work with Python), you can install dockerize locally with the following command:

pip2 install --user git+http://github.com/larsks/dockerize.git

However the best case scenario would be to have the package hosted on PyPi (the Python package repository). This would permit easy install (e.g. pip2 install --user dockerize).

I've forked the repo and made changes so that it can be easily packaged and uploaded to PyPi. I'll submit a pull request and see if @larsks is interested in submitting it to PyPi. Alternatively, I can submit it myself. I already have a number of packages/library on PyPi (and have a corresponding workflow) so I don't mind taking care of it if need be.

I will also update the README with installation information.

My fork is at https://github.com/brbsix/dockerize

larsks commented 9 years ago

Why not just submit a PR and see what happens?

brbsix commented 9 years ago

I was just about to submit one when I saw this. Should have it ready in a few minutes. :)

larsks commented 8 years ago

This package is now available on pypi: https://pypi.python.org/pypi/undocker