Use Debian's firefox-esr instead of the standalone Mozilla build

This commit is contained in:
Samveen 2023-01-29 20:01:55 +05:30
parent a547ac71fd
commit fb70c847a7
No known key found for this signature in database
GPG key ID: 5B17F3D06B420F2D

View file

@ -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`.