diff options
Diffstat (limited to 'cucumber-js-test-apis-ci/docker')
-rw-r--r-- | cucumber-js-test-apis-ci/docker/Dockerfile | 11 | ||||
-rw-r--r-- | cucumber-js-test-apis-ci/docker/startup.sh | 7 |
2 files changed, 11 insertions, 7 deletions
diff --git a/cucumber-js-test-apis-ci/docker/Dockerfile b/cucumber-js-test-apis-ci/docker/Dockerfile index fb4409215f..eab4e89f30 100644 --- a/cucumber-js-test-apis-ci/docker/Dockerfile +++ b/cucumber-js-test-apis-ci/docker/Dockerfile @@ -1,11 +1,12 @@ FROM node:8.16.0 - ENV TESTS_BASE /var/lib/tests USER root RUN mkdir $TESTS_BASE -COPY cucumber $TESTS_BASE -COPY startup.sh $TESTS_BASE -RUN chmod 777 $TESTS_BASE/startup.sh +RUN mkdir $TESTS_BASE/environments +COPY cucumber $TESTS_BASE +COPY startup.sh . +RUN chmod 777 ./startup.sh +RUN chmod -R 777 $TESTS_BASE/node_modules/ -ENTRYPOINT [ "/var/lib/tests/startup.sh" ] +ENTRYPOINT [ "./startup.sh" ] diff --git a/cucumber-js-test-apis-ci/docker/startup.sh b/cucumber-js-test-apis-ci/docker/startup.sh index 3170411ae5..b3ad4f140a 100644 --- a/cucumber-js-test-apis-ci/docker/startup.sh +++ b/cucumber-js-test-apis-ci/docker/startup.sh @@ -1,6 +1,9 @@ #!/bin/bash cd /var/lib/tests + +rm devConfig.json + mkdir resources/downloads -yarn install -yarn run test-and-report + +npm run test-and-report |