Skip to content

Instantly share code, notes, and snippets.

@informationsea
Created January 7, 2019 03:28
Show Gist options
  • Save informationsea/d82c4cb2f98a6ccfc2958c219203b0a6 to your computer and use it in GitHub Desktop.
Save informationsea/d82c4cb2f98a6ccfc2958c219203b0a6 to your computer and use it in GitHub Desktop.
Grid Engine build on CentOS7
FROM centos:7
RUN yum update -y
RUN yum install -y tcsh gcc gcc-c++ make autoconf automake libtool openssl-devel memkind-devel libdb-devel ncurses-devel pam-devel libXmu-devel libXpm-devel motif-devel hwloc-devel ant ant-nodeps javacc junit java-1.7.0-openjdk-devel
RUN mkdir -p build
WORKDIR /build
RUN curl -OL https://github.com/son-of-gridengine/sge/archive/819.tar.gz && tar xzf 819.tar.gz
WORKDIR /build/sge-819/source
RUN sh scripts/bootstrap.sh
RUN ./aimk -no-herd -pam
RUN ./aimk -man
ENV SGE_ROOT=/opt/sge
RUN mkdir -p /opt/sge && echo y | scripts/distinst -local -noexit -allall lx-amd64
WORKDIR /opt
RUN tar czf sge-8.1.9.tar.gz sge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment