ci: fix Dockerfile for v1.8.3

master
Thomas Buckley-Houston 2025-07-11 13:06:40 -03:00
rodzic cb3ddd533f
commit dbb6ed2bc2
2 zmienionych plików z 7 dodań i 6 usunięć

Wyświetl plik

@ -1,6 +1,7 @@
FROM bitnami/minideb:bullseye as build
FROM debian:trixie-slim as build
RUN install_packages \
RUN apt update
RUN apt install --yes \
curl \
ca-certificates \
git \
@ -36,14 +37,15 @@ RUN /build/ctl.sh build_browsh_binary $BASE
###########################
# Actual final Docker image
###########################
FROM bitnami/minideb:bullseye
FROM debian:trixie-slim
ENV HOME=/app
WORKDIR $HOME
COPY --from=build /go-home/src/browsh/interfacer/browsh /app/bin/browsh
RUN install_packages \
RUN apt update
RUN apt install --yes \
xvfb \
libgtk-3-0 \
curl \
@ -78,4 +80,3 @@ RUN TERM=xterm script \
sleep 10
ENTRYPOINT ["/app/bin/browsh"]

Wyświetl plik

@ -1,6 +1,6 @@
module github.com/browsh-org/browsh/interfacer
go 1.21
go 1.24.4
require (
github.com/NYTimes/gziphandler v1.1.1