Skip to content

Commit

Permalink
Upgrade dependencies and bump Alpine to 3.20 (#508)
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 6, 2024
1 parent 805caba commit 9328e7f
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 29 deletions.
38 changes: 19 additions & 19 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 @@ -6,15 +6,15 @@ license = "Apache-2.0"
edition = "2021"

[dependencies]
anyhow = "1.0.83"
anyhow = "1.0.86"
askama = "0.12.1"
askama_axum = "0.4.0"
async-channel = "2.2.1"
async-channel = "2.3.1"
async-trait = "0.1.80"
axum = { version = "0.7.5", features = ["macros"] }
clap = { version = "4.5.4", features = ["derive"] }
config = "0.13.4"
deadpool-postgres = { version = "0.13.2", features = ["serde"] }
deadpool-postgres = { version = "0.14.0", features = ["serde"] }
futures = "0.3.30"
graphql_client = { version = "0.14.0", features = ["reqwest"] }
hex = "0.4.3"
Expand All @@ -30,13 +30,13 @@ openssl = { version = "0.10.64", features = ["vendored"] }
postgres-openssl = "0.5.0"
regex = "1.10.4"
reqwest = "0.12.4"
serde = { version = "1.0.201", features = ["derive"] }
serde = { version = "1.0.203", features = ["derive"] }
serde_json = "1.0.117"
serde_yaml = "0.9.34"
sha2 = "0.10.8"
thiserror = "1.0.60"
thiserror = "1.0.61"
time = { version = "0.3.36", features = ["serde"] }
tokio = { version = "1.37.0", features = [
tokio = { version = "1.38.0", features = [
"macros",
"rt-multi-thread",
"signal",
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.19 as builder
FROM rust:1-alpine3.20 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.19.1
FROM alpine:3.20.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.22.3-alpine3.19 AS tern
FROM golang:1.22.3-alpine3.20 AS tern
RUN apk --no-cache add git
RUN go install github.com/jackc/tern@latest

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

0 comments on commit 9328e7f

Please sign in to comment.