Last active
December 17, 2019 12:38
-
-
Save Kungergely/5e98eb00cc3a17bd1454855c4e656e56 to your computer and use it in GitHub Desktop.
Dockerfile for building the pbs_mom (torque-mom) RPM package for CentOS 8 (from torque-4.2.10-18.fc29.src.rpm)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM centos:8 | |
RUN mkdir /build | |
RUN dnf -y --nogpgcheck install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm wget curl zip unzip bzip2 gcc gcc-c++ rpm-build make desktop-file-utils pam-devel xauth readline-devel ncurses-devel openssl-devel libxml2-devel tcl-devel tk-devel graphviz texlive-tabu tex-xtab tex-sectsty tex-tocloft tex-multirow tex-adjustbox tetex-latex | |
RUN dnf -y --enablerepo=PowerTools install gperf hwloc-devel munge-devel doxygen graphviz-gd | |
RUN dnf -y --enablerepo=AppStream install texlive-collection-latexrecommended | |
COPY torque-4.2.10-18.fc29.src.rpm /build # Download the SRPM e.g. from https://download-ib01.fedoraproject.org/pub/fedora/linux/releases/29/Everything/source/tree/Packages/t/torque-4.2.10-18.fc29.src.rpm | |
RUN cd /build && rpmbuild --rebuild torque-4.2.10-18.fc29.src.rpm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment