summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamveen <samveen@samveen.in>2023-01-29 20:01:55 +0530
committerThomas Buckley-Houston <tom@tombh.co.uk>2023-01-30 09:03:55 -0500
commitb389228682f80b6025df1bc245bdcb741d736c6d (patch)
treee32daa0191cda0b50ecd296988ec470354669e51
parenta547ac71fd5338f70c81cae76c2238efc5f1d534 (diff)
Use Debian's firefox-esr instead of the standalone Mozilla build
-rw-r--r--Dockerfile8
1 files changed, 2 insertions, 6 deletions
diff --git a/Dockerfile b/Dockerfile
index 9745ece..31405d7 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -34,10 +34,6 @@ WORKDIR $BASE
RUN /build/ctl.sh install_golang $BASE
RUN /build/ctl.sh build_browsh_binary $BASE
-# Install firefox
-RUN /build/ctl.sh install_firefox
-
-
###########################
# Actual final Docker image
###########################
@@ -47,7 +43,6 @@ ENV HOME=/app
WORKDIR $HOME
COPY --from=build /go-home/src/browsh/interfacer/browsh /app/bin/browsh
-COPY --from=build /tmp/firefox /app/bin/firefox
RUN install_packages \
xvfb \
@@ -57,7 +52,8 @@ RUN install_packages \
libdbus-glib-1-2 \
procps \
libasound2 \
- libxtst6
+ libxtst6 \
+ firefox-esr
# Block ads, etc. This includes porn just because this image is also used on the
# public SSH demo: `ssh brow.sh`.