kopia lustrzana https://github.com/browsh-org/browsh
ci: fix Dockerfile for v1.8.3
rodzic
cb3ddd533f
commit
dbb6ed2bc2
11
Dockerfile
11
Dockerfile
|
@ -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 \
|
curl \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
git \
|
git \
|
||||||
|
@ -36,14 +37,15 @@ RUN /build/ctl.sh build_browsh_binary $BASE
|
||||||
###########################
|
###########################
|
||||||
# Actual final Docker image
|
# Actual final Docker image
|
||||||
###########################
|
###########################
|
||||||
FROM bitnami/minideb:bullseye
|
FROM debian:trixie-slim
|
||||||
|
|
||||||
ENV HOME=/app
|
ENV HOME=/app
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
COPY --from=build /go-home/src/browsh/interfacer/browsh /app/bin/browsh
|
COPY --from=build /go-home/src/browsh/interfacer/browsh /app/bin/browsh
|
||||||
|
|
||||||
RUN install_packages \
|
RUN apt update
|
||||||
|
RUN apt install --yes \
|
||||||
xvfb \
|
xvfb \
|
||||||
libgtk-3-0 \
|
libgtk-3-0 \
|
||||||
curl \
|
curl \
|
||||||
|
@ -78,4 +80,3 @@ RUN TERM=xterm script \
|
||||||
sleep 10
|
sleep 10
|
||||||
|
|
||||||
ENTRYPOINT ["/app/bin/browsh"]
|
ENTRYPOINT ["/app/bin/browsh"]
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
module github.com/browsh-org/browsh/interfacer
|
module github.com/browsh-org/browsh/interfacer
|
||||||
|
|
||||||
go 1.21
|
go 1.24.4
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/NYTimes/gziphandler v1.1.1
|
github.com/NYTimes/gziphandler v1.1.1
|
||||||
|
|
Ładowanie…
Reference in New Issue