Dockerfile
changeset 1 f15f00b6a8a9
parent 0 48358f88e059
equal deleted inserted replaced
0:48358f88e059 1:f15f00b6a8a9
    25 COPY exim/ /home/exim-test/exim/
    25 COPY exim/ /home/exim-test/exim/
    26 
    26 
    27 # prepare the build - files need to be owned
    27 # prepare the build - files need to be owned
    28 # by exim-test
    28 # by exim-test
    29 WORKDIR /home/exim-test
    29 WORKDIR /home/exim-test
    30 RUN chown -R exim-test: *
    30 RUN chown -R exim-test: .
    31 
    31 
    32 # Build Exim
    32 # Build Exim
    33 USER exim-test
    33 USER exim-test
    34 WORKDIR /home/exim-test/exim/src
    34 WORKDIR /home/exim-test/exim/src
    35 RUN make -j -l 1
    35 RUN make -j -l 1
    36 
    36 
    37 #
    37 
    38 ## Prepare/Build the test-suite
    38 # Prepare/Build the test-suite
    39 #WORKDIR /home/exim-test/exim/test
    39 WORKDIR /home/exim-test/exim/test
    40 #RUN mkdir /tmp/exim
    40 RUN mkdir /tmp/exim
    41 #RUN echo $PWD/test-config > /tmp/exim/trusted-configs
    41 RUN echo $PWD/test-config > /tmp/exim/trusted-configs
    42 #RUN autoconf
    42 RUN autoconf
    43 #RUN ./configure
    43 RUN ./configure
    44 #RUN make
    44 RUN make
    45 #
    45 
    46 ## now finally run the tests
    46 ## now finally run the tests
    47 ## should be done by you, manually :)
    47 ## should be done by you, manually :)
       
    48 # -> full hostname