aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/blueimp/jquery-file-upload/test/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/blueimp/jquery-file-upload/test/Dockerfile')
-rw-r--r--vendor/blueimp/jquery-file-upload/test/Dockerfile26
1 files changed, 26 insertions, 0 deletions
diff --git a/vendor/blueimp/jquery-file-upload/test/Dockerfile b/vendor/blueimp/jquery-file-upload/test/Dockerfile
new file mode 100644
index 000000000..a80dccc8d
--- /dev/null
+++ b/vendor/blueimp/jquery-file-upload/test/Dockerfile
@@ -0,0 +1,26 @@
+FROM blueimp/chromedriver
+
+USER root
+
+RUN export DEBIAN_FRONTEND=noninteractive \
+ && apt-get update \
+ && apt-get install --no-install-recommends --no-install-suggests -y \
+ nodejs \
+ npm \
+ # Remove obsolete files:
+ && npm install -g \
+ npm@latest \
+ mocha-chrome \
+ && apt-get clean \
+ && rm -rf \
+ /tmp/* \
+ /usr/share/doc/* \
+ /var/cache/* \
+ /var/lib/apt/lists/* \
+ /var/tmp/*
+
+USER webdriver
+
+WORKDIR /var/www/html
+
+ENTRYPOINT ["mocha-chrome"]