Skip to content

Commit dfc838d

Browse files
update dependencies
1 parent 9103e5e commit dfc838d

6 files changed

Lines changed: 110 additions & 77 deletions

File tree

Dockerfile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,16 @@ RUN npm install
1111
RUN npm run build
1212

1313

14-
FROM chromedp/headless-shell:latest AS runtime
14+
FROM chromedp/headless-shell:136.0.7103.93 AS runtime
1515
WORKDIR /app
1616
COPY --from=build-service /build/pdf-turtle /app/pdf-turtle
1717
COPY --from=build-playground /app/dist /app/static-files/extern/playground
1818

19-
RUN apt-get -y update
20-
RUN apt-get -y install ca-certificates fonts-open-sans fonts-roboto fonts-noto-color-emoji
21-
RUN apt-get clean
22-
RUN rm -rf /var/lib/apt/lists/*
19+
RUN apt-get -y update && \
20+
apt-get -y upgrade && \
21+
apt-get -y install ca-certificates fonts-open-sans fonts-roboto fonts-noto-color-emoji && \
22+
apt-get clean && \
23+
rm -rf /var/lib/apt/lists/*
2324

2425
ENV LANG=en-US.UTF-8
2526
ENV LOG_LEVEL_DEBUG=false

Dockerfile.unprivileged

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,16 @@ RUN npm install
1111
RUN npm run build
1212

1313

14-
FROM chromedp/headless-shell:latest AS runtime
14+
FROM chromedp/headless-shell:136.0.7103.93 AS runtime
1515
WORKDIR /app
1616
COPY --from=build-service /build/pdf-turtle /app/pdf-turtle
1717
COPY --from=build-playground /app/dist /app/static-files/extern/playground
1818

19-
RUN apt-get -y update
20-
RUN apt-get -y install ca-certificates fonts-open-sans fonts-roboto fonts-noto-color-emoji
21-
RUN apt-get clean
22-
RUN rm -rf /var/lib/apt/lists/*
19+
RUN apt-get -y update && \
20+
apt-get -y upgrade && \
21+
apt-get -y install ca-certificates fonts-open-sans fonts-roboto fonts-noto-color-emoji && \
22+
apt-get clean && \
23+
rm -rf /var/lib/apt/lists/*
2324

2425
ENV LANG=en-US.UTF-8
2526
ENV LOG_LEVEL_DEBUG=false
@@ -32,6 +33,6 @@ ENV NO_SANDBOX=true
3233
EXPOSE ${PORT}
3334

3435
RUN useradd -u 64198 app
35-
USER app
36+
USER 64198
3637

3738
ENTRYPOINT ["/app/pdf-turtle"]

Dockerfile.withoutPlayground

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@ COPY . .
44
RUN go build -o pdf-turtle
55

66

7-
FROM chromedp/headless-shell:stable AS runtime
8-
RUN apt-get -y update
9-
RUN apt-get -y install ca-certificates fonts-open-sans fonts-roboto fonts-noto-color-emoji
10-
RUN apt-get clean
11-
RUN rm -rf /var/lib/apt/lists/*
7+
FROM chromedp/headless-shell:136.0.7103.93 AS runtime
8+
RUN apt-get -y update && \
9+
apt-get -y upgrade && \
10+
apt-get -y install ca-certificates fonts-open-sans fonts-roboto fonts-noto-color-emoji && \
11+
apt-get clean && \
12+
rm -rf /var/lib/apt/lists/*
1213

1314
WORKDIR /app
1415
COPY --from=build-service /build/pdf-turtle /app/pdf-turtle

go.mod

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,51 @@
11
module github.com/lucas-gaitzsch/pdf-turtle
22

3-
go 1.23
3+
go 1.24
44

5-
toolchain go1.23.0
5+
toolchain go1.24.2
66

77
require (
8-
github.com/PuerkitoBio/goquery v1.10.0
8+
github.com/PuerkitoBio/goquery v1.10.3
99
github.com/ajstarks/svgo v0.0.0-20211024235047-1546f124cd8b
1010
github.com/alexflint/go-arg v1.5.1
1111
github.com/aymerick/raymond v2.0.2+incompatible
1212
github.com/boombuler/barcode v1.0.2
13-
github.com/chromedp/cdproto v0.0.0-20241014181340-cb3a7a1d51d7
14-
github.com/chromedp/chromedp v0.11.0
13+
github.com/chromedp/cdproto v0.0.0-20250429231605-6ed5b53462d4
14+
github.com/chromedp/chromedp v0.13.6
1515
github.com/flosch/pongo2/v5 v5.0.0
16-
github.com/gofiber/fiber/v2 v2.52.5
16+
github.com/gofiber/fiber/v2 v2.52.6
1717
github.com/google/uuid v1.6.0
18-
github.com/rs/zerolog v1.33.0
18+
github.com/rs/zerolog v1.34.0
1919
github.com/swaggo/fiber-swagger v1.3.0
2020
github.com/swaggo/swag v1.16.4
21-
golang.org/x/net v0.30.0
21+
golang.org/x/net v0.40.0
2222
)
2323

2424
require (
2525
github.com/KyleBanks/depth v1.2.1 // indirect
2626
github.com/alexflint/go-scalar v1.2.0 // indirect
2727
github.com/andybalholm/brotli v1.1.1 // indirect
28-
github.com/andybalholm/cascadia v1.3.2 // indirect
28+
github.com/andybalholm/cascadia v1.3.3 // indirect
2929
github.com/chromedp/sysutil v1.1.0 // indirect
30-
github.com/go-openapi/jsonpointer v0.21.0 // indirect
30+
github.com/go-json-experiment/json v0.0.0-20250417205406-170dfdcf87d1 // indirect
31+
github.com/go-openapi/jsonpointer v0.21.1 // indirect
3132
github.com/go-openapi/jsonreference v0.21.0 // indirect
3233
github.com/go-openapi/spec v0.21.0 // indirect
33-
github.com/go-openapi/swag v0.23.0 // indirect
34+
github.com/go-openapi/swag v0.23.1 // indirect
3435
github.com/gobwas/httphead v0.1.0 // indirect
3536
github.com/gobwas/pool v0.2.1 // indirect
3637
github.com/gobwas/ws v1.4.0 // indirect
3738
github.com/josharian/intern v1.0.0 // indirect
38-
github.com/klauspost/compress v1.17.11 // indirect
39-
github.com/mailru/easyjson v0.7.7 // indirect
40-
github.com/mattn/go-colorable v0.1.13 // indirect
39+
github.com/klauspost/compress v1.18.0 // indirect
40+
github.com/mailru/easyjson v0.9.0 // indirect
41+
github.com/mattn/go-colorable v0.1.14 // indirect
4142
github.com/mattn/go-isatty v0.0.20 // indirect
4243
github.com/mattn/go-runewidth v0.0.16 // indirect
4344
github.com/rivo/uniseg v0.4.7 // indirect
4445
github.com/swaggo/files v1.0.1 // indirect
4546
github.com/valyala/bytebufferpool v1.0.0 // indirect
46-
github.com/valyala/fasthttp v1.56.0 // indirect
47-
github.com/valyala/tcplisten v1.0.0 // indirect
48-
golang.org/x/sys v0.26.0 // indirect
49-
golang.org/x/tools v0.26.0 // indirect
47+
github.com/valyala/fasthttp v1.62.0 // indirect
48+
golang.org/x/sys v0.33.0 // indirect
49+
golang.org/x/tools v0.33.0 // indirect
5050
gopkg.in/yaml.v3 v3.0.1 // indirect
5151
)

0 commit comments

Comments
 (0)