This commit is contained in:
jay
2019-03-09 22:06:16 +08:00
commit 379f028e6e
4 changed files with 48 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
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