Skip to content

Commit

Permalink
Upgrade dependencies and bump Alpine to 3.18.2 (#341)
Browse files Browse the repository at this point in the history
Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
  • Loading branch information
tegioz authored Jun 28, 2023
1 parent 33d5d2c commit fc2ca3b
Show file tree
Hide file tree
Showing 4 changed files with 84 additions and 55 deletions.
119 changes: 74 additions & 45 deletions Cargo.lock

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

16 changes: 8 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ askama_axum = "0.3.0"
async-channel = "1.8.0"
async-trait = "0.1.68"
axum = { version = "0.6.18", features = ["macros"] }
clap = { version = "4.3.4", features = ["derive"] }
clap = { version = "4.3.9", features = ["derive"] }
config = "0.13.3"
deadpool-postgres = { version = "0.10.5", features = ["serde"] }
futures = "0.3.28"
Expand All @@ -24,17 +24,17 @@ ignore = "0.4.20"
jsonwebtoken = "8.3.0"
lazy_static = "1.4.0"
octocrab = "0.25.1"
openssl = { version = "0.10.54", features = ["vendored"] }
openssl = { version = "0.10.55", features = ["vendored"] }
postgres-openssl = "0.5.0"
regex = "1.8.4"
reqwest = "0.11.18"
serde = { version = "1.0.164", features = ["derive"] }
serde_json = "1.0.97"
serde_yaml = "0.9.21"
serde_json = "1.0.99"
serde_yaml = "0.9.22"
sha2 = "0.10.7"
thiserror = "1.0.40"
time = { version = "0.3.22", features = ["serde"] }
tokio = { version = "1.28.2", features = [
tokio = { version = "1.29.0", features = [
"macros",
"rt-multi-thread",
"signal",
Expand All @@ -46,12 +46,12 @@ tokio-postgres = { version = "0.7.8", features = [
"with-time-0_3",
] }
tower = "0.4.13"
tower-http = { version = "0.4.0", features = ["trace"] }
tower-http = { version = "0.4.1", features = ["trace"] }
tracing = "=0.1.37"
tracing-subscriber = { version = "0.3.17", features = ["env-filter", "json"] }
uuid = { version = "1.3.4", features = ["serde", "v4"] }
uuid = { version = "1.4.0", features = ["serde", "v4"] }

[dev-dependencies]
http-body = "0.4.5"
hyper = "0.14.26"
hyper = "0.14.27"
mockall = "0.11.4"
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.18.0
FROM alpine:3.18.2
RUN apk --no-cache add ca-certificates && addgroup -S gitvote && adduser -S gitvote -G gitvote
USER gitvote
WORKDIR /home/gitvote
Expand Down
2 changes: 1 addition & 1 deletion database/migrations/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ RUN apk --no-cache add git
RUN go install github.com/jackc/tern@latest

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

0 comments on commit fc2ca3b

Please sign in to comment.