Skip to content

Commit 574e03b

Browse files
authored
Upgrade backend dependencies and base images (#220)
Signed-off-by: Sergio Castaño Arteaga <[email protected]>
1 parent c966d3b commit 574e03b

File tree

4 files changed

+49
-48
lines changed

4 files changed

+49
-48
lines changed

Cargo.lock

+33-32
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+11-11
Original file line numberDiff line numberDiff line change
@@ -13,41 +13,41 @@ edition = "2021"
1313
rust-version = "1.70"
1414

1515
[workspace.dependencies]
16-
anyhow = "1.0.83"
16+
anyhow = "1.0.86"
1717
as-any = "0.3.1"
1818
askama = "0.12.1"
1919
async-trait = "0.1.80"
2020
axum = { version = "0.7.5", features = ["macros"] }
2121
base64 = "0.22.1"
22-
cached = { version = "0.51.3", features = ["async"] }
23-
clap = { version = "4.5.4", features = ["derive"] }
22+
cached = { version = "0.51.4", features = ["async"] }
23+
clap = { version = "4.5.7", features = ["derive"] }
2424
clowarden-core = { path = "../clowarden-core" }
2525
config = "0.13.4"
26-
deadpool-postgres = { version = "0.13.2", features = ["serde"] }
26+
deadpool-postgres = { version = "0.14.0", features = ["serde"] }
2727
futures = "0.3.30"
2828
hmac = "0.12.1"
2929
hex = "0.4.3"
30-
lazy_static = "1.4.0"
30+
lazy_static = "1.5.0"
3131
mime = "0.3.17"
3232
mockall = "0.12.1"
3333
octorust = { git = "https://github.com/tegioz/third-party-api-clients.git" }
3434
openssl = { version = "0.10.64", features = ["vendored"] }
3535
pem = "3.0.4"
3636
postgres-openssl = "0.5.0"
37-
regex = "1.10.4"
38-
serde = { version = "1.0.201", features = ["derive"] }
39-
serde_json = "1.0.117"
37+
regex = "1.10.5"
38+
serde = { version = "1.0.203", features = ["derive"] }
39+
serde_json = "1.0.118"
4040
serde_qs = "0.13.0"
4141
serde_yaml = "0.9.34"
4242
sha2 = "0.10.8"
43-
thiserror = "1.0.57"
43+
thiserror = "1.0.61"
4444
time = { version = "0.3.36", features = [
4545
"formatting",
4646
"macros",
4747
"parsing",
4848
"serde",
4949
] }
50-
tokio = { version = "1.37.0", features = [
50+
tokio = { version = "1.38.0", features = [
5151
"macros",
5252
"process",
5353
"rt-multi-thread",
@@ -64,4 +64,4 @@ tower = "0.4.13"
6464
tower-http = { version = "0.5.2", features = ["auth", "fs", "set-header", "trace"] }
6565
tracing = "0.1.40"
6666
tracing-subscriber = { version = "0.3.18", features = ["env-filter", "json"] }
67-
uuid = { version = "1.8.0", features = ["serde", "v4"] }
67+
uuid = { version = "1.9.1", features = ["serde", "v4"] }

clowarden-server/Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build clowarden
2-
FROM rust:1-alpine3.19 as builder
2+
FROM rust:1-alpine3.20 as builder
33
RUN apk --no-cache add musl-dev perl make
44
WORKDIR /clowarden
55
COPY Cargo.* ./
@@ -10,7 +10,7 @@ WORKDIR /clowarden/clowarden-server
1010
RUN cargo build --release
1111

1212
# Build frontend
13-
FROM node:18-alpine3.19 AS frontend-builder
13+
FROM node:18-alpine3.20 AS frontend-builder
1414
RUN apk --no-cache add git
1515
WORKDIR /web
1616
COPY web .
@@ -19,7 +19,7 @@ RUN yarn install --network-concurrency 1
1919
RUN yarn build
2020

2121
# Final stage
22-
FROM alpine:3.19.1
22+
FROM alpine:3.20.1
2323
RUN apk --no-cache add ca-certificates && addgroup -S clowarden && adduser -S clowarden -G clowarden
2424
USER clowarden
2525
WORKDIR /home/clowarden

database/migrations/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Build tern
2-
FROM golang:1.22.3-alpine3.19 AS tern
2+
FROM golang:1.22.4-alpine3.19 AS tern
33
RUN apk --no-cache add git
44
RUN go install github.com/jackc/tern@latest
55

66
# Build final image
7-
FROM alpine:3.19.1
7+
FROM alpine:3.20.1
88
RUN addgroup -S clowarden && adduser -S clowarden -G clowarden
99
USER clowarden
1010
WORKDIR /home/clowarden

0 commit comments

Comments
 (0)