diff -r f15f00b6a8a9 -r 79c7422f579b Dockerfile --- a/Dockerfile Fri Apr 03 22:58:14 2015 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,48 +0,0 @@ -FROM debian:8 - -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 \ - git gcc make pkg-config \ - libpcre3-dev libssl-dev libdb5.3-dev libmysqlclient-dev libpq-dev \ - libsqlite3-dev libldap2-dev libperl-dev autoconf \ - sudo net-tools - -# prepare user environment for running (exim) and testing exim (exim-test) -RUN useradd --system -c 'Exim User' exim -RUN useradd --home-dir /home/exim-test -G exim -c 'Exim Test User' -m exim-test - -# add additional files -# (sudoers, Local/Makefile) -COPY root/ / - -# add current working copy -COPY exim/ /home/exim-test/exim/ - -# prepare the build - files need to be owned -# by exim-test -WORKDIR /home/exim-test -RUN chown -R exim-test: . - -# Build Exim -USER exim-test -WORKDIR /home/exim-test/exim/src -RUN make -j -l 1 - - -# Prepare/Build the test-suite -WORKDIR /home/exim-test/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