Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#01 - Add puppet modules to Docker file #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions sh/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,19 @@ RUN yum -y install fetch-crl globus-rsl empty-ca-certs
RUN yum install -y vim less

## net tools ##
RUN yum install -y net-tools iproute openssh openssh-server openssh-clients openssl-libs tcpdump
RUN yum install -y net-tools iproute openssh openssh-server openssh-clients openssl-libs tcpdump git

## default users ##
RUN useradd -m test
RUN adduser -m condor_user
RUN mkdir -p /etc/grid-security/
RUN rpm -Uvh http://yum.puppet.com/puppet5-release-el-7.noarch.rpm
RUN yum install -y puppet-agent
RUN /opt/puppetlabs/bin/puppet module install puppet-fetchcrl --version 3.0.0
RUN /opt/puppetlabs/bin/puppet module install HEPPuppet-argus --version 0.0.3
RUN /opt/puppetlabs/bin/puppet module install HEPPuppet-htcondor --version 2.4.3
RUN git clone https://github.com/HEP-Puppet/puppet-localfolder /tmp/puppet-localfolder
RUN git clone https://github.com/HEP-Puppet/puppet-grid_accounts /tmp/puppet-grid_accounts


## mount point for SIMPLE Grid Framework ##
Expand All @@ -44,4 +47,4 @@ rm -f /lib/systemd/system/basic.target.wants/*;\
rm -f /lib/systemd/system/anaconda.target.wants/*;

VOLUME [ "/sys/fs/cgroup" ]
CMD ["/usr/sbin/init"]
CMD ["/usr/sbin/init"]