diff --git a/Jenkinsfile b/Jenkinsfile index f988344..231d391 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -32,7 +32,7 @@ pipeline { DOCKERIMG="${implementation}:head" } sh "docker build --build-arg IMAGE=${DOCKERIMG} --build-arg SCHEME=${implementation} --tag=foreign-c-test-${implementation} -f dockerfiles/Dockerfile.snow-chibi-install-test ." - sh "docker run -v ${WORKSPACE}:/workdir -w /workdir -t foreign-c-test-${implementation} sh -c \"timeout 120 make SCHEME=${implementation} clean install-jenkins && cp tests/hello.scm /tmp/ && cd /tmp && SCHEME=${implementation} timeout 120 printf \"\\n\" | compile-r7rs -o hello hello.scm && timeout 120 printf \"\\n\" | ./hello\"" + sh "docker run -v ${WORKSPACE}:/workdir -w /workdir -t foreign-c-test-${implementation} sh -c \"timeout 120 make SCHEME=${implementation} clean install-jenkins && cp tests/hello.scm /tmp/ && cd /tmp && SCHEME=${implementation} printf \"\\n\" | timeout 120 compile-r7rs -o hello hello.scm && printf \"\\n\" | timeout 120 ./hello\"" } } tests.each { test -> diff --git a/dockerfiles/Dockerfile.test b/dockerfiles/Dockerfile.test index 8f6d89e..0c5a016 100644 --- a/dockerfiles/Dockerfile.test +++ b/dockerfiles/Dockerfile.test @@ -1,7 +1,10 @@ ARG SCHEME=chibi ARG IMAGE=chibi:head FROM schemers/${IMAGE} -RUN apt-get update && apt-get install -y \ +RUN apt-get update && apt-get install \ + --no-install-suggests \ + --no-install-recommends \ + -y \ build-essential \ make \ libffi-dev \