aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/blueimp/jquery-file-upload/test/Dockerfile
blob: a80dccc8db8b5472cf961525a77f6c85f7661c22 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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"]