https://github.com/claranet/docker-fpm
Run the following in your source code that you wish to package resides.
docker run --rm -v "$PWD:/source" -v /etc/passwd:/etc/passwd:ro --user=$(id -u):$(id -g) claranet/fpm -t rpm -s dir -n rpm-name .
The following alias lets you run fpm as normal.
alias fpm='docker run --rm -v "$PWD:/source" -v /etc/passwd:/etc/passwd:ro --user=$(id -u):$(id -g) claranet/fpm'
Content type
Image
Digest
Size
277.1 MB
Last updated
almost 9 years ago
docker pull claranet/fpm