Commit bed17db8 authored by ijaz ahmad's avatar ijaz ahmad Committed by GitHub
Browse files

Create cvmfs-inside-docker.Dockerfile

parent 716f6e46
FROM centos:centos6
RUN groupadd -g 500 cmsinst && adduser -u 500 -g 500 cmsinst && install -d /opt && install -d -o cmsinst /opt/cms
RUN groupadd -g 501 cmsbld && adduser -u 501 -g 501 cmsbld
RUN yum -y update && yum -y install wget git tcsh zsh tcl perl-ExtUtils-Embed perl-libwww-perl compat-libstdc++-33 libXmu libXpm zip e2fsprogs \
krb5-devel krb5-worstation tk mesa-libGLU mesa-libGL compat-readline5 libXcursor libXrandr libXi libXinerama
RUN yum -y install
RUN yum -y install cvmfs cvmfs-config-default
RUN /usr/bin/cvmfs_config setup
RUN /bin/touch /etc/cvmfs/default.local && /bin/echo "," > /etc/cvmfs/default.local
RUN /bin/echo "CVMFS_HTTP_PROXY=" >> /etc/cvmfs/default.local
RUN echo "#!/bin/bash" > /
RUN echo "/sbin/service autofs restart" >> /
RUN echo "/usr/bin/cvmfs_config probe" >> /
RUN echo "bash" >> /
RUN /bin/chmod +x /
RUN wget -O /usr/local/bin/dumb-init
RUN chmod +x /usr/local/bin/dumb-init
ENTRYPOINT ["/usr/local/bin/dumb-init", "--"]
CMD ["/"]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment