FROM alpine:latest # Switch to edge (for latest firefox) RUN sed -i -e 's/v[[:digit:]]\.[[:digit:]]/edge/g' /etc/apk/repositories RUN echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories RUN apk update && apk upgrade RUN apk add firefox-esr jq xvfb curl openjdk8-jre RUN rm -rf /var/cache/apk/* COPY geckodriver.sh geckodriver.sh RUN sh geckodriver.sh