| 1 |
{ |
| 2 |
"distro_name" : "centos", |
| 3 |
"distro_package_format" : "rpm", |
| 4 |
"distro_package_manager" : "yum", |
| 5 |
"distro_package_installer" : "fedora_install_package.py", |
| 6 |
"docker_stages" : { |
| 7 |
"header" : [ |
| 8 |
"FROM centos:${DVER}", |
| 9 |
"MAINTAINER http://sourceware.org/systemtap/", |
| 10 |
"", |
| 11 |
"# Notes for the RUN command:", |
| 12 |
"# - We're installing 'yum-utils' to get 'debuginfo-install'", |
| 13 |
"# (which is used when installing packages).", |
| 14 |
"", |
| 15 |
"RUN `# Install our dependencies, etc.` && \\", |
| 16 |
" yum -y install \\", |
| 17 |
" yum-utils systemtap-devel python wget \\", |
| 18 |
" createrepo_c", |
| 19 |
"COPY fedora_install_package.py /tmp/" |
| 20 |
], |
| 21 |
"install" : [ |
| 22 |
"RUN python /tmp/fedora_install_package.py --name ${NAME} --pkg ${PKG} --build_id ${BUILD_ID}" |
| 23 |
], |
| 24 |
"footer" : [ |
| 25 |
"RUN `# Clean up` && \\", |
| 26 |
" yum -y clean all" |
| 27 |
] |
| 28 |
} |
| 29 |
} |