Skip to content

Commit

Permalink
Upgrade dependencies and base images
Browse files Browse the repository at this point in the history
Signed-off-by: Sergio Castaño Arteaga <[email protected]>
  • Loading branch information
tegioz committed Dec 10, 2024
1 parent 1778be3 commit 203b3f8
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 37 deletions.
52 changes: 26 additions & 26 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ license = "Apache-2.0"
edition = "2021"

[dependencies]
anyhow = "1.0.93"
anyhow = "1.0.94"
askama = "0.12.1"
askama_axum = "0.4.0"
async-channel = "2.3.1"
async-trait = "0.1.83"
axum = { version = "0.7.9", features = ["macros"] }
clap = { version = "4.5.21", features = ["derive"] }
clap = { version = "4.5.23", features = ["derive"] }
deadpool-postgres = { version = "0.14.0", features = ["serde"] }
figment = { version = "0.10.19", features = ["yaml", "env"] }
futures = "0.3.31"
Expand All @@ -34,9 +34,9 @@ serde = { version = "1.0.215", features = ["derive"] }
serde_json = "1.0.133"
serde_yaml = "0.9.34"
sha2 = "0.10.8"
thiserror = "2.0.3"
time = { version = "0.3.36", features = ["serde"] }
tokio = { version = "1.41.1", features = [
thiserror = "2.0.6"
time = { version = "0.3.37", features = ["serde"] }
tokio = { version = "1.42.0", features = [
"macros",
"rt-multi-thread",
"signal",
Expand All @@ -47,11 +47,11 @@ tokio-postgres = { version = "0.7.12", features = [
"with-serde_json-1",
"with-time-0_3",
] }
tokio-util = { version = "0.7.12", features = ["rt"] }
tokio-util = { version = "0.7.13", features = ["rt"] }
tower = { version = "0.5.1", features = ["util"] }
tower-http = { version = "0.6.2", features = ["trace"] }
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", features = ["env-filter", "json"] }
tracing-subscriber = { version = "0.3.19", features = ["env-filter", "json"] }
uuid = { version = "1.11.0", features = ["serde", "v4"] }

[dev-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build gitvote
FROM rust:1-alpine3.20 as builder
FROM rust:1-alpine3.21 as builder
RUN apk --no-cache add musl-dev perl make
WORKDIR /gitvote
COPY src src
Expand All @@ -10,7 +10,7 @@ WORKDIR /gitvote/src
RUN cargo build --release

# Final stage
FROM alpine:3.20.3
FROM alpine:3.21.0
RUN apk --no-cache add ca-certificates && addgroup -S gitvote && adduser -S gitvote -G gitvote
USER gitvote
WORKDIR /home/gitvote
Expand Down
4 changes: 2 additions & 2 deletions database/migrations/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Build tern
FROM golang:1.23.3-alpine3.20 AS tern
FROM golang:1.23.4-alpine3.21 AS tern
RUN apk --no-cache add git
RUN go install github.com/jackc/tern@latest

# Build final image
FROM alpine:3.20.3
FROM alpine:3.21.0
RUN addgroup -S gitvote && adduser -S gitvote -G gitvote
USER gitvote
WORKDIR /home/gitvote
Expand Down

0 comments on commit 203b3f8

Please sign in to comment.