Skip to content

Commit

Permalink
Upgrade dependencies and base images (#515)
Browse files Browse the repository at this point in the history
Signed-off-by: Sergio Castaño Arteaga <[email protected]>
  • Loading branch information
tegioz authored Jun 25, 2024
1 parent 9328e7f commit 8470994
Show file tree
Hide file tree
Showing 4 changed files with 85 additions and 32 deletions.
99 changes: 76 additions & 23 deletions Cargo.lock

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

12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ askama_axum = "0.4.0"
async-channel = "2.3.1"
async-trait = "0.1.80"
axum = { version = "0.7.5", features = ["macros"] }
clap = { version = "4.5.4", features = ["derive"] }
clap = { version = "4.5.7", features = ["derive"] }
config = "0.13.4"
deadpool-postgres = { version = "0.14.0", features = ["serde"] }
futures = "0.3.30"
Expand All @@ -24,14 +24,14 @@ humantime = "2.1.0"
humantime-serde = "1.1.1"
ignore = "0.4.22"
jsonwebtoken = "9.3.0"
lazy_static = "1.4.0"
lazy_static = "1.5.0"
octocrab = "=0.33.3"
openssl = { version = "0.10.64", features = ["vendored"] }
postgres-openssl = "0.5.0"
regex = "1.10.4"
reqwest = "0.12.4"
regex = "1.10.5"
reqwest = "0.12.5"
serde = { version = "1.0.203", features = ["derive"] }
serde_json = "1.0.117"
serde_json = "1.0.118"
serde_yaml = "0.9.34"
sha2 = "0.10.8"
thiserror = "1.0.61"
Expand All @@ -51,7 +51,7 @@ tower = "0.4.13"
tower-http = { version = "0.5.2", features = ["trace"] }
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", features = ["env-filter", "json"] }
uuid = { version = "1.8.0", features = ["serde", "v4"] }
uuid = { version = "1.9.1", features = ["serde", "v4"] }

[dev-dependencies]
http-body = "1.0.0"
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ WORKDIR /gitvote/src
RUN cargo build --release

# Final stage
FROM alpine:3.20.0
FROM alpine:3.20.1
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.22.3-alpine3.20 AS tern
FROM golang:1.22.4-alpine3.20 AS tern
RUN apk --no-cache add git
RUN go install github.com/jackc/tern@latest

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

0 comments on commit 8470994

Please sign in to comment.