Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hairmare/docker-rpmdev
docker image and some scripts for running rpmbuild et. al.
https://github.com/hairmare/docker-rpmdev
Last synced: about 1 month ago
JSON representation
docker image and some scripts for running rpmbuild et. al.
- Host: GitHub
- URL: https://github.com/hairmare/docker-rpmdev
- Owner: hairmare
- Created: 2017-07-10T19:44:02.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-05-09T20:25:11.000Z (over 3 years ago)
- Last Synced: 2024-01-06T09:27:47.504Z (almost 1 year ago)
- Language: Shell
- Homepage: https://hub.docker.com/r/hairmare/rpmdev/
- Size: 7.81 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rpmdev Docker images
Docker image containing basic RPM development tools in a CentOS install.
These are useful for testing Specfiles in an isolated manner.
## Usage
Optain a bash shell with the workdir set to /git.
```
docker run --rm -ti -v `pwd`:'/git' quay.io/hairmare/centos_rpmdev
```
Or use Fedora
```
docker run --rm -ti -v `pwd`:'/git' quay.io/hairmare/fedora_rpmdev
```
Or openSUSE
```
docker run --rm -ti -v `pwd`:'/git' quay.io/hairmare/opensuse_rpmdev
```Build package from a specfile.
```
specfileName="foo-bar.spec"build-rpm-package.sh "${specfileName}"
```Use the opinionated tarball helper if you need to create a source tarball.
```
vcsDir="/git"
targetFileName="foo-bar-0.0.0.tar.gz"create-source-tarball.sh ${vcsDir} ${targetFileName}
```