2015-07-22 03:47:01 +00:00
|
|
|
FROM centos:5
|
2015-07-20 05:40:24 +00:00
|
|
|
MAINTAINER Andy Neff <andyneff@users.noreply.github.com>
|
|
|
|
|
|
|
|
#Docker RUN example, pass in the git-lfs checkout copy you are working with
|
2015-07-23 05:49:40 +00:00
|
|
|
LABEL RUN="docker run -v git-lfs-repo-dir:/src -v repo_dir:/repo"
|
2015-07-20 05:40:24 +00:00
|
|
|
|
2015-07-23 03:23:16 +00:00
|
|
|
COPY test_lfs.bsh /tmp/test_lfs.bsh
|
2015-07-20 05:40:24 +00:00
|
|
|
|
2015-07-22 03:47:01 +00:00
|
|
|
CMD yum install -y curl.x86_64 && \
|
2015-07-31 20:32:40 +00:00
|
|
|
curl -L -O http://${REPO_HOSTNAME:-git-lfs.github.com}/centos/5/RPMS/noarch/git-lfs-repo-release-1-1.el5.noarch.rpm && \
|
|
|
|
rpm --import http://${REPO_HOSTNAME:-git-lfs.github.com}/centos/5/RPM-GPG-KEY-GITLFS && \
|
|
|
|
yum install -y git-lfs-repo-release-1-1.el5.noarch.rpm &&\
|
2015-07-22 03:47:01 +00:00
|
|
|
yum install -y epel-release &&\
|
2015-07-31 20:32:40 +00:00
|
|
|
yum install -y git-lfs.x86_64 && \
|
2015-07-20 05:40:24 +00:00
|
|
|
git-lfs && \
|
2015-07-30 04:04:30 +00:00
|
|
|
yum install -y perl-Digest-SHA golang && \
|
2015-07-23 05:49:40 +00:00
|
|
|
/tmp/test_lfs.bsh
|