Skip to content
Go to file
Cannot retrieve contributors at this time
27 lines (18 sloc) 604 Bytes
FROM shell-test-base
#FROM starpit/ibm-functions-shell-base
WORKDIR /tests
# auth keys
ADD .openwhisk-shell /.openwhisk-shell
ADD dist /dist
# some fake bits needed by compile.js
RUN echo "API_HOST=foo" > ~/.wskprops
RUN echo "AUTH=bar" >> ~/.wskprops
ADD app /app
RUN cd /app && npm install --unsafe-perm
# remove the fake bits
RUN rm ~/.wskprops
ADD tests /tests
RUN cd /tests && npm install
# fold in the latest chromedriver; this file is part of the base image see tests/docker/,Dockerfile
RUN mv /chromedriver /tests/node_modules/electron-chromedriver/bin
CMD ./bin/
You can’t perform that action at this time.