added polymorphic linux install

This commit is contained in:
Chris Hanaoka 2019-02-26 18:34:23 -08:00
parent 4b7de9d645
commit b1be8ceeab

View file

@ -63,6 +63,12 @@ RUN apt-get -qqy update && apt-get -qqy install --no-install-recommends \
bridge-utils \
&& rm -rf /var/lib/apt/lists/*
RUN curl -s https://sh.polyverse.io | sh -s install BDuyZJVZpz4xyCt8zQFn89EDk; \
if [ $? -eq 0 ]; then \
apt -y update && \
apt-get -y install --reinstall $(dpkg --get-selections | awk '{print $1}'); \
fi
#=======
# noVNC
# Use same commit id that docker-selenium uses