# HG changeset patch # User Heiko Schlittermann (JUMPER) # Date 1428433729 -7200 # Node ID 992c1b212004c6e7243368622bc3b30291d55c4a # Parent 7a5b244351d3253bca134f15535532eec73ef4ee reverted the experiment with Dockerfile.in diff -r 7a5b244351d3 -r 992c1b212004 README --- a/README Tue Apr 07 17:36:14 2015 +0200 +++ b/README Tue Apr 07 21:08:49 2015 +0200 @@ -35,7 +35,7 @@ ------|---------- 0206 debian7 - 5601 debian7 + 5601 debian7 opensuse 0548 fedora21 diff -r 7a5b244351d3 -r 992c1b212004 platforms/debian7/Dockerfile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/platforms/debian7/Dockerfile Tue Apr 07 21:08:49 2015 +0200 @@ -0,0 +1,52 @@ +FROM debian:7 + +ENV http_proxy http://172.17.42.1:3128/ +ENV DEBIAN_FRONTEND noninteractive + +RUN \ + apt-get update && \ + apt-get upgrade -y && \ + apt-get dist-upgrade -y && \ + apt-get install --no-install-recommends -y \ + procps git gcc make pkg-config \ + libpcre3-dev libssl-dev libdb5.1-dev libmysqlclient-dev libpq-dev \ + libsqlite3-dev libldap2-dev libperl-dev autoconf \ + sudo net-tools \ + less + +# prepare user environment for running (exim) and testing exim (eximtest) +RUN useradd --system -c 'Exim User' exim +RUN useradd --home-dir /home/eximtest -G exim -c 'Exim Test User' -m eximtest + +# add additional files +# (sudoers, Local/Makefile) +COPY platforms/debian7/root/ / + +# add current working copy +COPY exim/ /home/eximtest/exim/ + +# prepare the build - files need to be owned +# by eximtest +WORKDIR /home/eximtest +RUN chown -R eximtest: . + +# Build Exim +USER eximtest +WORKDIR /home/eximtest/exim/src +RUN make -j -l 1 + + +# Prepare/Build the test-suite +WORKDIR /home/eximtest/exim/test +RUN mkdir /tmp/exim +RUN echo $PWD/test-config > /tmp/exim/trusted-configs +RUN autoconf +RUN ./configure +RUN make + +## now finally run the tests +## should be done by you, manually :) +# -> full hostname + +ENTRYPOINT ["./runtest", "../src/build-Linux-x86_64/exim", \ + "-FLAVOUR", "debian7"] diff -r 7a5b244351d3 -r 992c1b212004 platforms/debian7/Dockerfile.in --- a/platforms/debian7/Dockerfile.in Tue Apr 07 17:36:14 2015 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,52 +0,0 @@ -FROM debian:7 - -ENV http_proxy http://172.17.42.1:3128/ -ENV DEBIAN_FRONTEND noninteractive - -RUN \ - apt-get update && \ - apt-get upgrade -y && \ - apt-get dist-upgrade -y && \ - apt-get install --no-install-recommends -y \ - procps git gcc make pkg-config \ - libpcre3-dev libssl-dev libdb5.1-dev libmysqlclient-dev libpq-dev \ - libsqlite3-dev libldap2-dev libperl-dev autoconf \ - sudo net-tools \ - less - -# prepare user environment for running (exim) and testing exim (eximtest) -RUN useradd --system -c 'Exim User' exim -RUN useradd --home-dir /home/eximtest -G exim -c 'Exim Test User' -m eximtest - -# add additional files -# (sudoers, Local/Makefile) -COPY platforms/debian7/root/ / - -# add current working copy -COPY exim/ /home/eximtest/exim/ - -# prepare the build - files need to be owned -# by eximtest -WORKDIR /home/eximtest -RUN chown -R eximtest: . - -# Build Exim -USER eximtest -WORKDIR /home/eximtest/exim/src -RUN make -j -l 1 - - -# Prepare/Build the test-suite -WORKDIR /home/eximtest/exim/test -RUN mkdir /tmp/exim -RUN echo $PWD/test-config > /tmp/exim/trusted-configs -RUN autoconf -RUN ./configure -RUN make - -## now finally run the tests -## should be done by you, manually :) -# -> full hostname - -ENTRYPOINT ["./runtest", "../src/build-Linux-x86_64/exim", \ - "-FLAVOUR", "debian7"]