From 7738a8f508e74a52d275ee98fee5834caba15c04 Mon Sep 17 00:00:00 2001
From: Naim A <227396+naim94a@users.noreply.github.com>
Date: Fri, 15 Dec 2023 00:58:33 -0500
Subject: [PATCH] docker: bump rust version and diesel_cli

---
 Dockerfile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 9ca7152..58bdcad 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,10 +1,10 @@
-FROM rust:1.68.2-slim-buster
+FROM rust:1.74.1-slim-buster
 ARG	DEBIAN_FRONTEND=noninteractive
 RUN	apt-get update && apt-get install -y --no-install-recommends --no-install-suggests ca-certificates pkg-config libssl-dev libpq-dev
 ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
 
 RUN --mount=type=cache,target=$CARGO_HOME/registry \
-	cargo install diesel_cli --version 2.0.1 --no-default-features --features postgres
+	cargo install diesel_cli --version 2.1.1 --no-default-features --features postgres
 
 COPY	common	/lumen/common
 COPY	lumen	/lumen/lumen
@@ -15,7 +15,7 @@ RUN --mount=type=cache,target=$CARGO_HOME/registry,target=/lumen/target \
 FROM	debian:buster-slim
 ARG	DEBIAN_FRONTEND=noninteractive
 RUN	apt-get update && apt-get install -y --no-install-recommends --no-install-suggests openssl libpq5 && \
-	sed -i -e 's,\[ v3_req \],\[ v3_req \]\nextendedKeyUsage = serverAuth,' /etc/ssl/openssl.cnf 
+	sed -i -e 's,\[ v3_req \],\[ v3_req \]\nextendedKeyUsage = serverAuth,' /etc/ssl/openssl.cnf
 RUN mkdir /usr/lib/lumen/
 
 COPY 	--from=0	/usr/local/cargo/bin/diesel  /usr/bin/diesel