packpack / packpack

Simple building of RPMs & Debian packages from git repos
Other
286 stars 54 forks source link

Support using of local docker images #156

Closed elhimov closed 2 months ago

elhimov commented 2 months ago

USE_LOCAL_IMAGE environment is introduced to be used to suppress explicit pulling of the docker image. If USE_LOCAL_IMAGE is not empty docker pull command is skipped. docker run pull the image automatically only if it doesn't exist locally, so by specifying non-empty USE_LOCAL_IMAGE one is able to run packpack in a local docker image.

Ex: OS=mosos DIST=15.4 USE_LOCAL_IMAGE=1 ./packpack

Closes #154