Skip to content

Commit

Permalink
Updated Chromium base image
Browse files Browse the repository at this point in the history
  • Loading branch information
ziflex committed Sep 12, 2020
1 parent 32058cb commit 55b55cb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,10 @@ COPY . .
RUN CGO_ENABLED=0 GOOS=linux make compile

# Build the final container. And install
FROM microbox/chromium-headless:83.0.4103.0 as runner
FROM montferret/chromium:85.0.4182.0 as runner

RUN apt-get update && apt-get install -y dumb-init

WORKDIR /root

# Add in certs
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.c

Expand All @@ -28,4 +26,4 @@ COPY --from=builder /go/src/github.com/MontFerret/worker/bin/worker .
EXPOSE 8080

ENTRYPOINT ["dumb-init", "--"]
CMD ["/bin/sh", "-c", "chromium --disable-dev-shm-usage --full-memory-crash-report --no-sandbox --disable-setuid-sandbox --disable-gpu --headless --remote-debugging-port=9222 & ./worker"]
CMD ["/bin/sh", "-c", "./entrypoint.sh & ./worker"]

0 comments on commit 55b55cb

Please sign in to comment.