diff options
Diffstat (limited to 'redhat/docker/el6/Dockerfile.x86_64')
-rw-r--r-- | redhat/docker/el6/Dockerfile.x86_64 | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/redhat/docker/el6/Dockerfile.x86_64 b/redhat/docker/el6/Dockerfile.x86_64 index 297141ea1..9b845631f 100644 --- a/redhat/docker/el6/Dockerfile.x86_64 +++ b/redhat/docker/el6/Dockerfile.x86_64 @@ -1,22 +1,25 @@ FROM centos:6 -ARG TDE_VERSION=14.0.4 +ARG TDE_VERSION=14.0.5 ARG ARCH=x86_64 +RUN echo "proxy=http://proxy:3128" >>/etc/yum.conf + # Add EPEL repository -RUN yum install -y epel-release +RUN yum -y install epel-release # Add NUX repository RUN rpm -Uvh http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-2.el6.nux.noarch.rpm # Install Trinity build dependencies -ADD packages.trinity /etc/yum.repos.d/packages -RUN yum update -y -RUN yum install -y $(</etc/yum.repos.d/packages) || : +ADD packages.trinity /packages +RUN yum -y update +RUN yum -y install $(</packages) # Add YUM repository for locally built packages -ADD rpmbuild.repo /etc/yum.repos.d/rpmbuild.repo -RUN sed -i "/etc/yum.repos.d/rpmbuild.repo" -e "s|\${ARCH}|${ARCH}|g" -e "s|\${TDE_VERSION}|${TDE_VERSION}|g" +WORKDIR /etc/yum.repos.d +ADD rpmbuild.repo rpmbuild.repo +RUN sed -i "rpmbuild.repo" -e "s|\${ARCH}|${ARCH}|g" -e "s|\${TDE_VERSION}|${TDE_VERSION}|g" # Add non-root user to build packages RUN useradd -m -s /bin/bash -u 1000 trinity |